readme.md 650 Bytes
Newer Older
Aral Balkan's avatar
Aral Balkan committed
1
2
3
# Blockdown Builder

Builds the blockdown data from the blockdown content.
4
5
6
7

# Deployment

1. Set up server with Dokku.
8
9
2. Copy `config.coffee` into `~/ind.ie.blockdown-builder` (`/root/ind.ie.blockdown-builder/`) and configure it.
3. In the folder from Step 2, above, `git clone git@source.ind.ie:blockdown/content.git`
10
4. ./deploy
11
5. Run `dokku docker-options:add blockdown-builder.ind.ie deploy "-v /root/ind.ie.blockdown-builder:/app/ind.ie.blockdown-builder"`
12
13

To use, 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)`