Docker InstallationΒΆ

  1. Requirements

    You will need docker and docker-compose.

  2. Build the containers

    Clone source code from the repository:

    $ git clone https://github.com/satnogs/satnogs-db.git
    $ cd satnogs-db
    

    Set your environmental variables:

    $ cp .env-dist .env
    

    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
    
  3. Run it!

    Run satnogs-db:

    $ docker-compose up
    

    Your satnogs-db development instance is available in localhost:8000. Go hack!