You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+117-3Lines changed: 117 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,10 @@ This application manages Twitch widgets for streamers. It specifically supports
8
8
9
9
## Prerequisites
10
10
To run this application, you will need:
11
-
- PHP
11
+
- PHP 8.3+
12
12
- MySQL
13
+
- Node.js (for frontend dependencies)
14
+
- Composer (for PHP dependencies)
13
15
14
16
## Installation
15
17
@@ -20,7 +22,18 @@ git clone [repository-url]
20
22
cd twitch-widget
21
23
```
22
24
23
-
### Step 2: Configure Your Environment
25
+
### Step 2: Install Dependencies
26
+
Install PHP dependencies using Composer:
27
+
```bash
28
+
composer install
29
+
```
30
+
31
+
Install frontend dependencies using npm:
32
+
```bash
33
+
npm install
34
+
```
35
+
36
+
### Step 3: Configure Your Environment
24
37
Copy the example environment file and then edit it with your specific configurations:
25
38
```bash
26
39
cp .env.example .env
@@ -33,7 +46,7 @@ Database connection details
33
46
API keys if applicable
34
47
Any other environment-specific variables
35
48
36
-
### Step 3: Run SQL Migrations
49
+
### Step 4: Run SQL Migrations
37
50
To set up your database, execute the SQL migrations provided:
38
51
```bash
39
52
php migrations/run.php
@@ -60,3 +73,104 @@ ngrok http 8000
60
73
61
74
This command will create a secure tunnel to your localhost server running on port 8000, allowing you to safely test your application's HTTPS functionality. Ensure that your application is running on port 8000 or adjust the port number in the command accordingly.
0 commit comments