Added some missing .env setup info
This commit is contained in:
@@ -45,7 +45,15 @@ $ npm run dev
|
||||
|
||||
### Running: In Production
|
||||
|
||||
Just `make build` at the root of the project and then run the following (ehm forse alcuni path sono relativi rispetto alla directory corrent quindi per ora è meglio fare `cd` dentro `dist/`)
|
||||
First make sure that the local `.env` is set for running in production mode by specifing the `MODE` environment variable. The `HOST` and `URL` should match but can be whatever you want for example
|
||||
|
||||
```bash
|
||||
MODE=production
|
||||
HOST=:3000
|
||||
URL=http://localhost:3000
|
||||
```
|
||||
|
||||
Then just `make build` at the root of the project and then run the following (ehm forse alcuni path sono relativi rispetto alla directory corrent quindi per ora è meglio fare `cd` dentro `dist/`)
|
||||
|
||||
```bash
|
||||
$ cd dist/
|
||||
|
||||
Reference in New Issue
Block a user