Updated the README to discuss installing CouchDB for the demo using Docker.

Ubuntu's conflict between CouchDB and Elixer is unacceptable
and Docker provides a solid work-around.
This commit is contained in:
Elf M. Sternberg 2016-07-22 07:38:35 -07:00
parent 9250ecc294
commit a12402aa53
2 changed files with 15 additions and 3 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@ src/*.html
src/*.js
src/*.css
tmp/
package.yml

View File

@ -15,9 +15,20 @@ You will need: Node.js and the Ruby version of Haml. You might need
the global version of require.js (r.js) installed; I do, so I haven't
tested without it.
This project is written in Coffeescript and HAML, and uses Grunt as
its build tool. You should have a copy of CouchDB running in
"AdminParty mode."
This project is written in Coffeescript and HAML, and uses Grunt as its
build tool. You should have a copy of CouchDB running in "AdminParty
mode." The best way I've found recently to get CouchDB running is to
use docker. The base CouchDB image from Apache is fine. For example,
from the project directory:
$ docker pull couchdb
$ mkdir data
$ docker run -d -p 5984:5984 -v $(pwd)/data:/usr/local/var/lib/couchdb --name my-couchdb couchdb
This command will start CouchDB in a docker container with a fairly
small instance of the Erlang BEAM, expose CouchDB's port on localhost,
and export the docker's internal storage volume to your local filesytem
in the new 'data' directory.
As with all NPM-based projects, you should run: