diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-09-27 16:59:45 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-09-27 16:59:45 +0200 |
commit | 9ed9003e81f949de314506165d65efa840bee1f6 (patch) | |
tree | 15fd04f9f3a222eb7803b0da897c3a6fd46496a6 | |
parent | ac894410fc1385e48838b270907c8f710a999bff (diff) | |
download | docs-9ed9003e81f949de314506165d65efa840bee1f6.tar.gz docs-9ed9003e81f949de314506165d65efa840bee1f6.tar.bz2 docs-9ed9003e81f949de314506165d65efa840bee1f6.zip |
fix instructions
-rw-r--r-- | deployment.rst | 47 |
1 files changed, 35 insertions, 12 deletions
diff --git a/deployment.rst b/deployment.rst index e632d143..8ddd5b5c 100644 --- a/deployment.rst +++ b/deployment.rst @@ -8,15 +8,15 @@ Wallet .. code-block:: none - cd wallet-webex + $ cd wallet-webex # check dependencies - ./configure + $ ./configure # edit version and version_name - $EDITOR manifest.json + $ $EDITOR manifest.json - make package-stable + $ make package-stable The built wallet is now ready in `taler-wallet-stable-${version_name}${version}.zip`. @@ -39,19 +39,42 @@ merchant.git, merchant-frontends.git, bank.git, landing.git) do: .. code-block:: none - cd $REPO - git pull - git checkout stable + $ cd $REPO + $ git pull origin master stable + $ git checkout stable # option a: resolve conflicts resulting from hotfixes - git merge master - ... + $ git merge master + $ ... # option b: force stable to master - git update-ref refs/heads/stable master + $ git update-ref refs/heads/stable master - git push # possible with --force + $ git push # possible with --force # continue development - git checkout master + $ git checkout master + +Log into taler.net with the account that is *not* active by looking +at the `sockets` symlink of the `demo` account. + +The following instructions wipe out the old deployment completely. + +.. code-block:: none + $ ls -l ~demo/sockets + + [...] sockets -> /home/demo-green/sockets/ + +In this case, `demo-green` is the active deployment, and `demo-blue` should be updated. +After the update is over, the symlink will be pointed to `demo-blue`. + +.. code-block:: none + $ rm -rf $HOME + $ git clone /var/git/deployment.git + $ ./deployment/bootstrap-bluegreen demo + + # set environment appropriately + $ . activate + $ taler-deployment-build + $ |