Skip to content

Commit cf24331

Browse files
committed
Readme db setup instructions added
1 parent fcaaf96 commit cf24331

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,34 @@ composer install --prefer-dist
2929
```
3030
npm install
3131
```
32+
33+
### Database Setup
34+
35+
Edit `.env.example` according to your environment and save as `.env`.
36+
An application key can be generates with the command `php artisan key:generate`.
37+
38+
Run these commands to create the tables within the database you have already created.
39+
40+
```
41+
php artisan migrate:install
42+
```
43+
```
44+
php artisan migrate:refresh
45+
```
46+
47+
## Run
48+
49+
To provide the JS and CSS files and to keep track of changes to these files:
3250
```
3351
gulp && gulp watch
3452
```
53+
54+
To start the PHP built-in server:
3555
```
3656
php -S localhost:8080 -t public/
3757
```
38-
Edit `.env.example` according to your environment and save as `.env`.
58+
59+
Now you can browse the site [http://localhost:8080](http://localhost:8080). 🙌
3960

4061
## Requirements
4162

0 commit comments

Comments
 (0)