Project structure is as follow:
Further documentation will be available in the upcoming days
to run the current version on your machine, do the following :
- Pull the image from the docker hub.
docker pull fedihamdi/breatheeasyapp:latest
- Start the app.
docker run -it -p 8000:8000 fedihamdi/breatheeasyapp:latest
- Clone the current repo.
git clone https://github.com/fedihamdi/meteodata.git
- Go to repo "meteodata/src/reaper"
cd ~/meteodata/src/reaper
- Create and install the requirements (I am using conda)
- Create conda env
conda create -n meteodata_39 python==3.9.18
- activate conda env
conda activate meteodata_39
- Install requirements
pip install -r requirements.txt
π Once that is done, you are ready to go :
py manage.py makemigrations
python manage.py migrate
π Create the Superuser
python manage.py createsuperuser
π Start the app
py manage.py runserver 0.0.0.0:8000
π₯ At this point, the app runs at β‘οΈ http://localhost:8000/
~:.
β .gitattributes
β .gitignore
β data_file_2022-07-10.csv
β download.nc
β download_pollen_forcasts.nc
β interactive_map_corrected.html
β interactive_map_corrected_bright.html
β LICENSE
β main.py
β random_data.nc
β random_data2.nc
β README.md
β requirements.txt
β testapi.py
β
ββββ.idea
β β .gitignore
β β meteodata.iml
β β misc.xml
β β modules.xml
β β vcs.xml
β β workspace.xml
β β
β ββββinspectionProfiles
β profiles_settings.xml
β
ββββ.ipynb_checkpoints
ββββmodels
β random_forest_dumb_model.pkl
β
ββββnotebooks
β β Modelisation.ipynb
β β R&D + EDA.ipynb
β β
β ββββ.ipynb_checkpoints
β Modelisation-checkpoint.ipynb
β R&D + EDA-checkpoint.ipynb
β
ββββsrc
β β cams_data_retrieval.py
β β era5_data_retriever.py
β β model_job.py
β β processing_job.py
β β __init__.py
β β
β ββββapp
β β β app.py
β β β __init__.py
β β β
β β ββββBreatheeasy
β β β db.sqlite3
β β β manage.py
β β β __init__.py
β β β
β β ββββBreatheeasy
β β β β asgi.py
β β β β settings.py
β β β β urls.py
β β β β views.py
β β β β wsgi.py
β β β β __init__.py
β β β β
β β β ββββ__pycache__
β β β settings.cpython-310.pyc
β era5_data_retriever.cpython-310.pyc
β
ββββtests
ββββintegration
ββββunit