https://guruda-api-kv422ek6cq-et.a.run.app
Deployed with cloud run.
API Docs: https://guruda-api-kv422ek6cq-et.a.run.app/api/schema/swagger-ui/
- create and run the virtual environment
python virtualenv venv source venv/bin/activate - Install libraries
pip install -r requirements.txt - Create a
.envon root with the following format:PG_NAME= PG_USER= PG_PASSWORD= PG_HOST= PG_PORT=
- Create Migrations
python ./manage.py makemigrations python ./manage.py migrate
- Run the local server
python ./manage.py runserver
- Build image
docker build . -t gbhisma/guruda-api - Run
docker run -d -p 8000:8000 --name guruda-api --env-file=.env <your-image-tag>
Should be accessible from http://localhost:8000/docker run -d -p 8000:8000 --name guruda-api --env-file=.env gbhisma/guruda-api