Eos is the software platform for Georgia Tech's "Lightning from the Edge of Space" high-altitude ballooning project under the VIP program. This module defines the ground software.
- Install python >= 3.10 and add to PATH
- Clone the repo:
git clone https://github.com/VIP-LES/EosGround.git
- Initialize virtual env:
python -m venv venv
(PyCharm can also do this for you) - Every time you want to enter the venv, run
source ./venv/bin/activate
(Note: If you have PyCharm initialize the venv, then the path might look like./venv/Scripts/activate
) - Install dependencies:
pip install -r requirements.txt
Note: to exit the venv, run deactivate
- Install PostgreSQL 15 and pgAdmin 4
- When prompted to set the password for user 'postgres', set to 'password'
- From the repository root, run
python -m EosGround.database.db_setup
to create the database
Note: on Mac sometimes the postgres server acts up, try sudo service postgres restart
- Do not commit directly to main. You must create an issue, make a branch, make a PR, and get it reviewed and approved.
- If you make a PR for the first time, add yourself to
CONTRIBUTORS.md
in your PR.
- In your terminal in your venv, run
pip install <your dependency>
- Run
pip freeze
and compare the result torequirements.txt
. Add any new lines from thepip freeze
output to the requirements.txt file - You should now be able to
import <your dependency>
in your EosPayload python files - To bump the EosLib version, run
pip install --upgrade --force-reinstall git+https://github.com/VIP-LES/[email protected]#egg=EosLib
(replaceX.Y.Z
with the version number)
See docs here
- To run the Django backend: navigate to the postgresDB folder and run
python manage.py runserver
- In a new terminal, navigate to the ground-station-openmct folder and run
npm install
and thennpm start