Created Deploying on our server (markdown)
21
Deploying-on-our-server.md
Normal file
21
Deploying-on-our-server.md
Normal file
@@ -0,0 +1,21 @@
|
||||
**Never** edit the files directly on the server!
|
||||
|
||||
-----
|
||||
|
||||
The test server uses the *dev* branch, the production server uses *master*.
|
||||
**Do not `git pull` on the server!** We have automated scripts for that.
|
||||
|
||||
### Deploying on test server
|
||||
* Push all changes
|
||||
* Run `<server-dir>/git_pull_utils.sh`.
|
||||
* Restart (You may try to `/reload` here, but expect the unexpected)
|
||||
|
||||
### Deploying on production server
|
||||
0. Test all code carefully on the test server
|
||||
0. on your machine:
|
||||
* pull
|
||||
* merge *dev* into *master*
|
||||
* push
|
||||
0. on the server:
|
||||
* `rs update_utils`
|
||||
* Restart (**don't** `/reload`!)
|
||||
Reference in New Issue
Block a user