-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sam/Deployment Fixes #29
base: master
Are you sure you want to change the base?
Changes from 1 commit
313451d
b2c00d2
6c39008
b10b995
97e9ccf
5e08fe3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,7 @@ yarn-error.log | |
# Editors: | ||
.DS_Store | ||
.idea/ | ||
.vscode/ | ||
.vscode/ | ||
|
||
# Logs: | ||
logs/ | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"apps": [ | ||
{ | ||
"name": "server", | ||
"script": "lib/indexApi.js", | ||
"error_file": "logs/server/error.log", | ||
"out_file": "logs/server/out.log" | ||
} | ||
] | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The server should have a real name, and the output should continue going to /var/log: {
"apps": [
{
"name": "logsServer",
"script": "./lib/indexApi.js",
"out_file": "/var/log/logsServer.log"
}
]
} There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, on the production box it's There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, we should add this to the readme: Manage server using
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessary if the output goes to /var/log