diff options
| author | Jules <jules@asdf.us> | 2018-05-10 20:38:13 -0400 |
|---|---|---|
| committer | Jules <jules@asdf.us> | 2018-05-10 20:38:13 -0400 |
| commit | f4e7211970b50577c1a3ffc71c25399742350957 (patch) | |
| tree | 82541b3d65b7388c976a88cabb396d7bde638368 | |
| parent | 798890c4e73981153e856668e0181ef384dea2a5 (diff) | |
msg
| -rw-r--r-- | .env-sample | 2 | ||||
| -rw-r--r-- | README | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.env-sample b/.env-sample index a28030c..f9e6bbc 100644 --- a/.env-sample +++ b/.env-sample @@ -8,3 +8,5 @@ S3_SECRET= S3_BUCKET= S3_PATH=/bucky SESSIONS_IN_MEMORY=yes +NODE_ENV=development + @@ -55,5 +55,9 @@ npm start Server will be running at http://localhost:5000/ aka http://lvh.me:5000/ (or whatever port you set in the .env) +### Produciton + In production I use something to daemonize the node server, such as pm2 (provides nice dashboard with uptime, restarts, saves logs, etc). +In .env, set `NODE_ENV=production` :) + |
