Added --no-dev to composer commands in docs
Related to bookstackapp/bookstack#1928
This commit is contained in:
parent 4132d3de8b
commit a7d1b0a85d
3 changed files with 8 additions and 7 deletions
| @ -51,12 +51,10 @@ Ensure the above requirements are met before installing. | |||
This project currently uses the `release` branch of the BookStack GitHub repository as a stable channel for providing updates. The installation is currently somewhat complicated and will be made simpler in future releases. Some PHP or Laravel experience will make this easier. | ||||
| ||||
1. Clone the release branch of the BookStack GitHub repository into a folder. | ||||
| ||||
```bash | ||||
git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch | ||||
``` | ||||
| ||||
2. `cd` into the application folder and run `composer install`. | ||||
```bash | ||||
git clone https://github.com/BookStackApp/BookStack.git --branch release --single-branch | ||||
``` | ||||
2. `cd` into the application folder and run `composer install --no-dev`. | ||||
3. Copy the `.env.example` file to `.env` and fill with your own database and mail details. | ||||
4. Ensure the `storage`, `bootstrap/cache` & `public/uploads` folders are writable by the web server. | ||||
5. In the application root, Run `php artisan key:generate` to generate a unique application key. | ||||
| |
| @ -13,7 +13,7 @@ Backup and restore documentation can be found [here](/docs/admin/backup-restore) | |||
Updating is currently done via Git version control. To update BookStack you can run the following command in the root directory of the application: | ||||
| ||||
```bash | ||||
git pull origin release && composer install && php artisan migrate | ||||
git pull origin release && composer install --no-dev && php artisan migrate | ||||
``` | ||||
| ||||
This command will update the repository that was created in the installation, install the PHP dependencies using `composer` then run then update the database with any required changes. | ||||
| |
Loading…
Add table
Add a link
Reference in a new issue