2015-04-18 05:17:12 +02:00
# wdiff-markdown/docker
2015-04-17 19:00:37 +02:00
2015-04-17 19:22:55 +02:00
A docker container for deploying the wdiff-markdown application
2015-04-17 19:00:37 +02:00
Usage
======
2015-04-18 05:17:12 +02:00
Build the container with `docker build -t 'adamarthurryan/wdiff-markdown'` .
2015-04-17 19:00:37 +02:00
2015-04-17 19:22:55 +02:00
Run the script `prepare.sh` from this folder.
2015-04-17 19:00:37 +02:00
2015-04-18 05:17:12 +02:00
To launch the application in development mode, run `../launch-devel.sh` .
2015-04-17 19:00:37 +02:00
2015-04-18 05:17:12 +02:00
To launch the application in production mode, run `../launch-prod.sh` .
2015-06-03 22:10:20 +02:00
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.