-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c286edd
commit e275b4d
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
### Instructions | ||
|
||
* In order to start the backend, you need to execute 'run' or 'run.bat' depending on your OS | ||
* Otherwise, you can call `pm2 stop all` / `pm2 restart all` should you encounter critical errors | ||
* Specify which branch you want to update for submodule in .gitmodules and update it with | ||
```git submodule update --remote``` | ||
|
||
* Helpful commands | ||
```$./run``` | ||
```$./stop``` | ||
|
||
* * To then restart the server again, type: | ||
```$pm2 reload all``` | ||
|
||
* * If you want to bring the server logs back on-line to check them after hitting control-c, type: | ||
```$pm2 logs all``` | ||
|
||
* * If you want the server to run on system startup (tested on Unix based OS) type: | ||
```$./persist``` | ||
|
||
* * Make sure the submodule is up-to-date | ||
```$git submodule foreach git pull origin master``` | ||
|
||
Note: the server keys do not work / security is not compromised via these stale keys. |