summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2014-07-20 17:05:15 +0200
committerjomo <github@jomo.tv>2014-07-20 17:05:15 +0200
commit3a62687d6eb6f911cdd370dd9bd7df3bae5545e7 (patch)
treeadf149199811de4e84fd8f36a121f717f5cdb6c1 /README.md
parentfbf772283170f6cfe6c23f889d5db6740ca85b8a (diff)
deploying details added to readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 18 insertions, 6 deletions
diff --git a/README.md b/README.md
index 24274c0..bebc405 100644
--- a/README.md
+++ b/README.md
@@ -41,12 +41,24 @@ Detailed description:
**Never** edit the files directly on the server!
The dev server uses the *dev* branch, the live server uses *master*.
-
-Please use the script `<server-dir>/git_pull_utils.sh`.
-**Do not use `git pull` on the server!**
-All files must be owned and pulled by the *redstoner* user.
-
-Be **very careful** with the live server! Make sure you're in the *master* branch and the code is working before pulling/restarting!
+**Do not use `git pull` on the server!** *(All files must be pulled/owned by the 'redstoner' user.)*
+
+### Deploying on test server
+* Push all changes
+* Run `<server-dir>/git_pull_utils.sh`.
+* Restart (You can try reloading here, but expect the unexpected)
+
+### Deploying on production server
+* Test all code carefully on the test server
+ ***on your machine:***
+* `git checkout master`
+* `git pull`
+* `git merge dev`
+* `git push -u origin master`
+* `git checkout dev`
+ ***on the server:***
+* `rs update_utils`
+* Restart
# Modules / Files