VirtualEnv InstallationΒΆ

Requirements: You will need python, python-virtualenvwrapper, pip and git

  1. Build the environment

    Clone source code from the repository:

    $ git clone https://gitlab.com/librespacefoundation/satnogs/satnogs-network.git
    

    Set up the virtual environment. On first run you should create it and link it to your project path.:

    $ cd satnogs-network
    $ mkvirtualenv satnogs-network -a .
    

    Set your environmental variables:

    $ cp env-dist .env
    

    Activate your python virtual environment:

    $ workon satnogs-network
    

    Install local development requirements:

    $ (satnogs-network)$ pip install --require-hashes --no-deps -r requirements/dev.txt
    
  2. Database

    Create, setup and populate the database with demo data:

    (satnogs-network)$ ./manage.py initialize
    

    Note that the above command requires internet connection, since it fetches Satellite and Transmitter data from SatNOGS-DB

  3. Run it!

Just run it:

(satnogs-network)$ ./manage.py runserver

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