Fixed shell lines to be 'code' style.

This commit is contained in:
Elf M. Sternberg 2016-07-22 16:27:10 -07:00 committed by GitHub
parent a12402aa53
commit d56674b29a
1 changed files with 7 additions and 7 deletions

View File

@ -21,9 +21,9 @@ 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, use docker. The base CouchDB image from Apache is fine. For example,
from the project directory: from the project directory:
$ docker pull couchdb $ docker pull couchdb
$ mkdir data $ mkdir data
$ docker run -d -p 5984:5984 -v $(pwd)/data:/usr/local/var/lib/couchdb --name my-couchdb couchdb $ 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 This command will start CouchDB in a docker container with a fairly
small instance of the Erlang BEAM, expose CouchDB's port on localhost, small instance of the Erlang BEAM, expose CouchDB's port on localhost,
@ -32,23 +32,23 @@ in the new 'data' directory.
As with all NPM-based projects, you should run: As with all NPM-based projects, you should run:
$ npm install $ npm install
to get started. A pair of convenience scripts are located in the to get started. A pair of convenience scripts are located in the
'bin/' directory. From the root of the application, when in Bash or a 'bin/' directory. From the root of the application, when in Bash or a
related shell, run: related shell, run:
$ source bin/activate $ source bin/activate
This will put all of the executables installed in This will put all of the executables installed in
"./node_modules/.bin" into your path, making them available to you "./node_modules/.bin" into your path, making them available to you
(and grunt). Now create a new database: (and grunt). Now create a new database:
$ curl -X PUT http://localhost:5984/demo-couchapp $ curl -X PUT http://localhost:5984/demo-couchapp
Now run the build and install: Now run the build and install:
$ gruntc $ gruntc
And now it should be possible to browse to And now it should be possible to browse to