Browse Source

move migrate command to setup section

for #17
pull/23/head
Aaron Parecki 7 years ago
parent
commit
0c2ff2e4df
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 7 additions and 6 deletions
  1. +7
    -6
      README.md

+ 7
- 6
README.md View File

@ -34,6 +34,13 @@ In the `compass` directory, copy `.env.example` to `.env` and fill in the detail
$ composer install
```
Once you've created the database and configured the settings in `.env`, run the migrations to set up all the tables.
```
$ php artisan migrate
```
### Web Server
Your web server will need to support URL re-routing to the index.php file of compass. This will vary based on your web server.
@ -60,12 +67,6 @@ $ php artisan queue:table
If you're using Redis, make sure you've installed the Redis server and set `QUEUE_DRIVER=redis`.
You will need to run the database migrations to create the database schema:
```
$ php artisan migrate
```
Make sure the storage folder you've defined in `STORAGE_DIR` is writable by the web server (or by the PHP process if you're using php-fpm).
To process jobs on the queue, run

Loading…
Cancel
Save