Repository for the project of M1 data science students
pip install -r requirements.txt
Download from the official_APOGEE website the files:
- allStarLite-dr17-synspec_rev1.fits
Paste the file in the data folder.
Go to the official website and follow the instructions to install postgresql on your machine.
Edit or create src/database/connection.py file with the following content:
password = "XXXXXXX;"
username = "YYYYYYY" # default is "postgres"
database = "ZZZZZZZ" # default is "postgres"
host = "localhost"
port = 5432
DATABASE_URL = f"postgresql+psycopg2://{username}:{password}@{host}:{port}/{database}"
python src/main.py