make build-docker
or if you are using windows and suffer from windows command line:
docker build -t cebackend . --no-cache
cp .env.example .env
docker compose up -d
docker compose exec backend python manage.py migrate
docker compose exec backend python manage.py createsuperuser
To analyze any activity data you need to have the co2e factors
data in database first. you can load the factor data by admin panel
or management command:
docker compose exec backend python manage.py load_factors uploads/CSV-Emission-Factors-and-Activity-Data-Emission-Factors.csv --replace
finally locate to http://localhost:8000 to access the app frontend
upload any activity data fist and then get the result by clicking on get emission data
button