dubdiff/docker/README.md

24 lines
731 B
Markdown
Raw Normal View History

2015-04-18 05:17:12 +02:00
# wdiff-markdown/docker
A docker container for deploying the wdiff-markdown application
Usage
======
2015-04-18 05:17:12 +02:00
Build the container with `docker build -t 'adamarthurryan/wdiff-markdown'`.
Run the script `prepare.sh` from this folder.
2015-04-18 05:17:12 +02:00
To launch the application in development mode, run `../launch-devel.sh`.
2015-04-18 05:17:12 +02:00
To launch the application in production mode, run `../launch-prod.sh`.
Note on DigitalOcean deployment
===============================
The DigitalOcean 512MB RAM option is not able to fully support dubdiff. In order to run dubdiff on this size of "droplet" one must enable a swapfile as described in this article:
(https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-12-04)
1024K of swap works well.