35 lines
837 B
ReStructuredText
35 lines
837 B
ReStructuredText
Docker Installation
|
|
===================
|
|
|
|
#. **Requirements**
|
|
|
|
You will need `docker <https://docs.docker.com/installation/#installation>`_ and `docker-compose <https://docs.docker.com/compose/install/>`_.
|
|
|
|
|
|
#. **Get the source code**
|
|
|
|
Clone source code from the `repository <https://gitlab.com/librespacefoundation/satnogs/satnogs-db>`_::
|
|
|
|
$ git clone https://gitlab.com/librespacefoundation/satnogs/satnogs-db.git
|
|
$ cd satnogs-db
|
|
|
|
#. **Configure settings**
|
|
|
|
Set your environmental variables::
|
|
|
|
$ cp env-dist .env
|
|
|
|
#. **Run it!**
|
|
|
|
Run satnogs-db::
|
|
|
|
$ docker-compose up -d --build
|
|
|
|
#. **Populate database**
|
|
|
|
Create, setup and populate the database with demo data::
|
|
|
|
$ docker-compose exec web djangoctl.sh initialize
|
|
|
|
Your satnogs-db development instance is available in localhost:8000. Go hack!
|