Browse Source

clarify database migration command

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

+ 11
- 4
README.md View File

@ -12,12 +12,19 @@ In the `compass` directory, copy `.env.example` to `.env` and fill in the detail
$ composer install $ composer install
``` ```
If you're using the database queue driver (`QUEUE_DRIVER=database` defined in `.env`), you'll need to create the migration for that table and run it:
If you're using the database queue driver (`QUEUE_DRIVER=database` defined in `.env`), you'll need to create the migration for that table:
* `php artisan queue:table`
* `php artisan migrate`
```
$ php artisan queue:table
```
If you're using Redis, make sure you've installed the Redis server and set `QUEUE_DRIVER=redis`.
Otherwise 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). 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).

Loading…
Cancel
Save