mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Added gulp to pm2 and updated pm2 + readme
This commit is contained in:
@@ -26,7 +26,7 @@ in ```/server/config```. There are ```*.example.js``` files for all the ones men
|
|||||||
|
|
||||||
If you want to use Google Analytics, have a look at ```analytics.example.js``` in ```server/config/```.
|
If you want to use Google Analytics, have a look at ```analytics.example.js``` in ```server/config/```.
|
||||||
|
|
||||||
Use ```$ npm start``` to start the server.
|
Use ```$ npm start``` to start the server. (Alternative you can use the ```pm2.json``` in the project-root, if you prefer pm2 for running the apps.)
|
||||||
|
|
||||||
### About
|
### About
|
||||||
|
|
||||||
|
|||||||
14
pm2.json
14
pm2.json
@@ -1,8 +1,16 @@
|
|||||||
{
|
{
|
||||||
"apps" : [{
|
"apps" : [
|
||||||
|
{
|
||||||
"name" : "zoff",
|
"name" : "zoff",
|
||||||
"script" : "./server/app.js",
|
"script" : "./server/app.js",
|
||||||
"watch" : true,
|
"watch" : true,
|
||||||
"ignore_watch": ["node_modules", "public/assets/images/thumbnails"],
|
"ignore_watch": ["./node_modules", "./server/public/assets/images/thumbnails"],
|
||||||
}]
|
},
|
||||||
|
{
|
||||||
|
"name" : "gulp",
|
||||||
|
"script" : "./gulpfile.js",
|
||||||
|
"watch" : true,
|
||||||
|
"ignore_watch": ["./node_modules", "./server/"],
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user