diff options
| author | Alon Levy <alon@pobox.com> | 2015-03-13 03:48:04 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-03-13 03:48:04 +0200 |
| commit | a4f23875dbbfb3f0a614d711b3f0583eb7d9fdd6 (patch) | |
| tree | bcc54c895392e787cc73a180e1be2379e309a7f9 | |
| parent | f6049932c96626dad93bd16944c7724a10c6604d (diff) | |
README: update to deployment section from Amir's notes and my almost working command line
| -rw-r--r-- | README.md | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -125,8 +125,18 @@ mingw doesn't have python support, so using mingw (I want a unix native python) # Deployment - obtain a server configuration by either adjusting res/etc/rhizi-server.conf.example or reusing an already active one. - the following configuration keys will likely need changing: DEBUG, SECRET_KEY, root_path, access_control, etc. -- rename configuration as 'rhizi-server.production.conf' +- let targetDomain be the target domain (i.e. rhizi.example.com) +- place configuration at res/production-patch-set/${targetDomain}/rhizi-server.production.conf - use the build.ant deploy-remote target: - adjust targetDomain path: should point at the configuration's file dir - adjust remoteDeployServer to point at the target server - use res/debian/rhizi.init to run rhizi as a system process: rz_server.py will need chmod'ing to +x + +- Deploying: + $ ant -v -f build.ant -DremoteDeployServer=rhizi.example.com -Drsync_module=/srv/www/rhizi.example.com deploy-remote + +## getting the current config file from the server: + + $ targetDomain="cri.rhizi.net" + $ mkdir res/production-patch-set/${targetDomain} + $ scp rz-1:/etc/rhizi/rhizi-server.conf res/production-patch-set/${targetDomain}/rhizi-server.production.conf |
