Skip to content

Windows Local Development Setup

Alexandar83 edited this page Feb 25, 2025 · 16 revisions

This page provides detailed instructions for setting up a local development environment for The Wall API on Windows. It walks through configuring dependencies, managing services, and running the application to streamline development and testing workflows.

Step-by-step instructions

1. Install Poetry (for dependency management and virtualization):

pip install poetry

2. Clone the repository in a folder of your choice:

git clone https://github.com/Alexandar83/the-wall-api.git
cd the-wall-api

3. Set up the DEV environment configuration:

  • Ensure the following files are set up in the repository folder:

    • config/envs/common/redis.conf
    • config/envs/dev/postgres_dev.env
    • config/envs/dev/the_wall_api_dev.env

    💡 Check the *.example files in the relevant folders of the repository for example configuration values.

📝 All subsequent console commands in this section must be executed from the project's root folder (the-wall-api).

4. Install app dependencies:

poetry install

5. Workflow to start and manage the application:

6. To remove the virtual environment:

poetry env remove python

📌 Action required: To use the other setups, remove all images and volumes, related to the app and the Celery services:

docker volume rm the_wall_api_redis_data_dev
docker volume rm the_wall_api_postgres_data_dev
docker volume rm the_wall_api_celery_beat_schedule_dev
docker rmi ghcr.io/alexandar83/the-wall-api
docker rmi ghcr.io/alexandar83/celery-lightweight

🗒️ Note: The images for the Redis, PostgreSQL, and Busybox services can be reused in all setups.

💡 Verify that the volumes and images are removed:

docker volume ls
docker images

💡 If either of the images becomes untagged, it has to be removed by its image id:

docker rmi <image_id>

Return to Top
Installation Instructions Index
Home Page


Clone this wiki locally