Skip to content

CSIEHaTerX/Backend

Repository files navigation

Backend

setup environment on windows(optional)

python3 -m venv venv
venv/Scripts/activate

Docker

pull the image if it's not present, and run as services in detach mode

docker compose up -d

stop the services

docker compose stop

start the services

docker compose start

remove the containers

docker compose down

PyCharm Hacks

For GUI freak fellows, you can run the backend with PyCharm's Run/Debug Configuration . To do so, follow the steps below:

  • Docker configurations

    • Run DB: This hosts the database.

    • Run ALL: This hosts the database and backend.

  • Python configurations

Please note:

  • When executing Run Backend or Run ALLfor the first time, it might fail initially due to the time taken for building the Docker container. Simply wait until the Docker's output signals readiness, then proceed to run it again.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages