Made the instructions clearer (#3601)

* Made the instructions clearer for people without laravel experience.

* Update Install Instructions

Updating Instruction to make it clearer

* Update README.md

* Update README.md

Added a word to explain that APP_KEY is user to encrypt data and if you loose it, you won't be able to read your data.
This commit is contained in:
IntegrateIT 2020-04-07 21:46:53 +01:00 committed by GitHub
parent 6a0ddd6c38
commit 9c2293427e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 78 additions and 61 deletions

2
.gitignore vendored
View File

@ -25,3 +25,5 @@ local_version.txt
# Ignore local migrations
storage/migrations
nbproject
/composer.lock

View File

@ -19,15 +19,30 @@ git clone https://github.com/invoiceninja/invoiceninja.git
git checkout v2
cp .env.example .env
cp .env.dusk.example .env.dusk.local
php artisan key:generate
composer update
npm i
npm run production
```
Please Note: Your APP_KEY in the .env file is used to encrypt data, if you loose this you will not be able to run the application.
Run if you want to load sample data, remember to configure .env
```
php artisan migrate:fresh --seed && php artisan db:seed --class=RandomDataSeeder
```
Navigate to
To Run the web server
```
http://ninja.test:8000/client/login
php artisan serve
```
Navigate to (replace ninja.test as required)
```
http://ninja.test:8000/setup - To setup your configuration if you didn't load sample data.
http://ninja.test:8000/ - For Administrator Logon
http://ninja.test:8000/client/login - For Client Portal
user: user@example.com
pass: password
```