add forever

This commit is contained in:
Bilal
2020-08-20 18:46:39 +03:00
parent d643333c45
commit e7ef88f9a8
4 changed files with 1662 additions and 11 deletions

View File

@@ -4,12 +4,14 @@
Node version : `v13.13.0`
Yarn version : `1.22.4`
### Setup
### Deployment Setup
1. Copy `example.env` to the `.env` and set values as desired
2. Execute `yarn install`
Run server with `yarn start`
3. Run server as a daemon with forever : `yarn run start-forever`
3.1. To stop server daemon, run `yarn run stop-forever`
Log file is stored in `logs/forever.log`
### Development