mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 09:50:24 +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/```.
|
||||
|
||||
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
|
||||
|
||||
|
||||
20
pm2.json
20
pm2.json
@@ -1,8 +1,16 @@
|
||||
{
|
||||
"apps" : [{
|
||||
"name" : "zoff",
|
||||
"script" : "./server/app.js",
|
||||
"watch" : true,
|
||||
"ignore_watch": ["node_modules", "public/assets/images/thumbnails"],
|
||||
}]
|
||||
"apps" : [
|
||||
{
|
||||
"name" : "zoff",
|
||||
"script" : "./server/app.js",
|
||||
"watch" : true,
|
||||
"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