mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 20:44:34 -04:00
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:
parent
6a0ddd6c38
commit
9c2293427e
2
.gitignore
vendored
2
.gitignore
vendored
@ -25,3 +25,5 @@ local_version.txt
|
|||||||
|
|
||||||
# Ignore local migrations
|
# Ignore local migrations
|
||||||
storage/migrations
|
storage/migrations
|
||||||
|
nbproject
|
||||||
|
/composer.lock
|
||||||
|
19
README.md
19
README.md
@ -19,15 +19,30 @@ git clone https://github.com/invoiceninja/invoiceninja.git
|
|||||||
git checkout v2
|
git checkout v2
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
cp .env.dusk.example .env.dusk.local
|
cp .env.dusk.example .env.dusk.local
|
||||||
|
php artisan key:generate
|
||||||
composer update
|
composer update
|
||||||
npm i
|
npm i
|
||||||
npm run production
|
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
|
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
|
user: user@example.com
|
||||||
pass: password
|
pass: password
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user