Nepalese events in Canada
- Fork the repository and clone it on your local machine.
- Make sure
python
is installed and environment variable is configured properly. You can verify Python is working as expected by usingpython --version
. Similarly, make sure Poetry is installed. You can verify it by using commandpoetry --version
- Go to project directory and run
poetry install
to install the required packages. - Go inside karyakram_backend directory and create .env by taking reference from .env.example
cp .env.example .env
. You can change the configuration as per your requirement. Everything should work as it is if you don't want to change configuration. - Install Docker
- Go to project root directory and run
docker-compose --env-file=./.env up -d
to run postgres. - Step 5 and 6 is optional. You can install postgres in your laptop and skip these steps. I find running it with docker much easier for development purpose.
- Go inside karyakram_backend directory and run
poetry run uvicorn main:app
and it will run the server in localhost:8000.
todo
todo