From 0c2ff2e4df83bcff1032dbbe25d9c7b31302ef7a Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 28 Jan 2018 07:37:04 -0800 Subject: [PATCH] move migrate command to setup section for #17 --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index df04914..9bc240d 100644 --- a/README.md +++ b/README.md @@ -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