-
Notifications
You must be signed in to change notification settings - Fork 1
Initial setup Feb 2024
Ashish Acharya edited this page Feb 1, 2024
·
2 revisions
how to run on local
with docker docker-compose build docker-compose up
without docker
create a new conda environment conda create -n "sde" python=3.11
install postgres.app on mac open postgres.app
go to psql postgres
create database sde; create user sde_user with password 'somepass'; grant all privileges on database sde to sde_user; alter user sde_user with superuser; (becuase we're on local we don't care about security here)
put this in .env DATABASE_URL='postgresql://sde_user:somepass@localhost:5432/sde'
replace somepass with your password
create a super user python manage.py createsuperuser
how to get collections from the prod server on local