Update README.md

Install composer package first before running artisan to set application key.
This commit is contained in:
Sugavanas 2021-04-05 22:36:30 +08:00 committed by GitHub
parent 22c47b63dd
commit 3477ce5fe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,8 +17,8 @@ Currently the client portal and API are of alpha quality, to get started:
git clone https://github.com/invoiceninja/invoiceninja.git
git checkout v5-stable
cp .env.example .env
php artisan key:generate
composer update
php artisan key:generate
```
Please Note: Your APP_KEY in the .env file is used to encrypt data, if you lose this you will not be able to run the application.