Commit 1578c272 authored by Yuri Konotopov's avatar Yuri Konotopov

readme: described a way to run website in Docker container

parent 0c05b4c8
......@@ -39,8 +39,40 @@ Python Requirements:
.. _Pygments:
Getting Started
Running with Docker
Make sure you have both `Docker`_ and `Docker Compose`_ installed as well as runnning `Docker`_ instance.
You can start website with commands:
$ git clone
$ cd extensions-web/openshift/docker
$ MYSQL_USER=extensions-web \
EGO_DATABASE_URL=mysql://extensions-web:SOME_PASSWORD@db/extensions-web \
EGO_NODE_ADDRESS=extensions-web \
EGO_XAPIAN_DB=/extensions-web/data/xapian.db \
docker-compose up --build
That's all! Website will be available as http://localhost:8080.
Don't forget to substitute "SOME_PASSWORD" and "SOME_SECRET_KEY" with proper values.
You also may want to create superuser account - look to virtualenv guide below for
apropriate command and `Docker`_ documentation for a way running command within running
`Docker`_ container.
.. _Docker:
.. _Docker Compose:
Running with virtualenv
You can get started developing the website with::
$ git clone
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment