add infos about .env

This commit is contained in:
jb-alvarado 2020-05-12 21:37:07 +02:00
parent 2b120807b0
commit a9c93d48a2

View File

@ -44,6 +44,13 @@
- go to folder **/var/www/ffplayout/ffplayout/frontend**
- install dependencies: `npm install`
- create **.env** file:
```
BASE_URL='http://localhost:3000'
API_URL='/'
```
- in dev mode `API_URL` should be: `http://localhost:8000`
- for deactivating progress animation: `DEV=true`
- build app: `npm run build`
Your frontend should be now in **/var/www/ffplayout/ffplayout/frontend/dist** folder, which we are included already in the nginx config. You can serve now the GUI under your domain URL.