1
0
Fork 0
satnogs-db/docs/installation-docker.rst

40 lines
887 B
ReStructuredText
Raw Normal View History

2017-03-13 11:15:06 -06:00
Docker Installation
===================
#. **Requirements**
You will need `docker <https://docs.docker.com/installation/#installation>`_ and `docker-compose <https://docs.docker.com/compose/install/>`_.
#. **Build the containers**
Clone source code from the `repository <https://github.com/satnogs/satnogs-db>`_::
$ git clone https://github.com/satnogs/satnogs-db.git
$ cd satnogs-db
Set your environmental variables::
$ cp env-dist .env
2017-03-13 11:15:06 -06:00
Start database containers::
$ docker-compose up -d db
Build satnogs-db container::
$ docker-compose build web
Run the initialize script to populate the database with scheme and demo data::
$ docker-compose run web python manage.py initialize
#. **Run it!**
Run satnogs-db::
$ docker-compose up
Your satnogs-db development instance is available in localhost:8000. Go hack!