Commit f2d927bb authored by Aral Balkan's avatar Aral Balkan
Browse files

Updated the deployment setup instructions.

parent e97c351f
......@@ -34,7 +34,21 @@ Note that the repositories we use for development are `content-dev` and `data-de
i. `cd ~/ind.ie.blockdown-builder/`
ii. `git clone git@source.ind.ie:blockdown/data.git`
7. Set up post-push and post-merge webhooks on Gitlab for both the Builder and Content repositories to point to `https://url/for/your/installation/build/(token-from-config.coffee)`
7. In the data repository: `git remote add site git@blockdown-site.ind.ie:data.git`
8. Add your ssh key for the Blockdown repositories to `~/ind.ie.blockdown-builder/ssh` as `id_rsa` and `id_rsa.pub`.
8. Set up post-push and post-merge webhooks on Gitlab for both the Builder and Content repositories to point to `https://url/for/your/installation/build/(token-from-config.coffee)`
9. Add your ssh key for the Blockdown repositories to `~/ind.ie.blockdown-builder/ssh` as `id_rsa` and `id_rsa.pub`.
# Site deployment
For blockdown-site.ind.ie:
1. Create a git account.
2. Add the blockdown-builder.ind.ie SSH keys.
3. In ~, `git init --bare data.git`
4. In ~, `git clone git@source.ind.ie:blockdown/data.git site`
5. From blockdown-builder.ind.ie, make sure you run Step 7, above to add data.git as a remote.
6. From blockdown-builder.ind.ie, `git push site master`
7. Make sure that the post-receive hook is in /home/git/data.git/hooks (see Site repository)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment