Merge pull request #14 from pinterest/yongwen-patch-2
more info on Docker
This commit is contained in:
commit
918ed8bf02
1 changed files with 4 additions and 3 deletions
|
@ -65,12 +65,13 @@ need to change this.
|
||||||
Docker
|
Docker
|
||||||
------
|
------
|
||||||
|
|
||||||
Alternatively, you can use `Docker`_ to install and run SnapPass:
|
Alternatively, you can use `Docker`_ and `Docker Compose`_ to install and run SnapPass:
|
||||||
.. _Docker: https://www.docker.com/
|
|
||||||
|
|
||||||
|
.. _Docker: https://www.docker.com/
|
||||||
|
.. _Docker Compose: https://docs.docker.com/compose/
|
||||||
::
|
::
|
||||||
|
|
||||||
$ docker build -t snappass .
|
$ docker build -t snappass .
|
||||||
$ docker-compose up -d
|
$ docker-compose up -d
|
||||||
|
|
||||||
This will pull all dependencies, i.e. Redis and appropriate Python version.
|
This will pull all dependencies, i.e. Redis and appropriate Python version (3.3), then start up snappass and Redis server. SnapPass server is accessible at: http://localhost:5000
|
||||||
|
|
Loading…
Reference in a new issue