Commit 6ee0a15b authored by Aral Balkan's avatar Aral Balkan
Browse files

Updated the deployment volume command in the readme. Added some logging to...

Updated the deployment volume command in the readme. Added some logging to attempt to debug deployment server issue.
parent caf03989
......@@ -43,6 +43,9 @@ class App
# we can use just a single Dokku volume.
@contentDirectory = @config.contentPath || (path.join @homeDirectory, 'content')
console.log "Token = #{@token}"
console.log "Content directory = #{@contentDirectory}"
# Store and return reference to singleton instance.
instance = @
return instance
......
......@@ -8,6 +8,6 @@ Builds the blockdown data from the blockdown content.
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`
4. ./deploy
5. Run `dokku docker-options:add blockdown-builder.ind.ie deploy "-v /root:/app"`
5. Run `dokku docker-options:add blockdown-builder.ind.ie deploy "-v /root/ind.ie.blockdown-builder:/app/ind.ie.blockdown-builder"`
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)`
\ No newline at end of file
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