Merge pull request #14 from pinterest/yongwen-patch-2

more info on Docker
This commit is contained in:
Yongwen Xu 2016-07-19 14:39:11 -07:00 committed by GitHub
commit 918ed8bf02

View file

@ -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