DjangoForge

Logo

Official documentation for the DjangoForge project.

View the Project on GitHub leoBitto/DjangoForge

DjangoForge Installation Guide

Back to index

Welcome to the installation guide for DjangoForge. This document will walk you through the process of setting up a development environment for DjangoForge. By the end of this guide, you’ll have the project up and running on your local machine, ready for further development.

Prerequisites

Before you start, ensure you have the following installed on your system:

Installation Steps

1. Fork the Repository

First, create a fork of the DjangoForge repository to your GitHub account. This allows you to make changes without affecting the original project.

2. Clone the Repository

Next, clone the repository from your fork to your local machine:

git clone https://github.com/leoBitto/djangoforge.git
cd djangoforge

3. Build and Start the Containers

Use the manager.sh script provided in the project to build and start the Docker containers. This script handles setting up the environment, including creating Docker images, applying database migrations, and more.

Run the following command from the root of the cloned repository:

source manager.sh build

This command will:

4. Start the Development Server

If you need to restart the containers without rebuilding the images, you can use:

source manager.sh start

This command will start the Docker containers and apply any necessary migrations without rebuilding the images.

5. Stop the Containers

To stop the running containers without removing them, use:

source manager.sh stop

This will shut down the containers gracefully, allowing you to restart them later with the start command.

6. Destroy Containers and Volumes

If you want to completely remove all containers and associated volumes, use:

source manager.sh destroy

This is useful when you need to reset the environment or free up system resources.

Troubleshooting

Common Issues

Next Steps

After completing the installation, you can start developing and extending DjangoForge. Be sure to review the Base documentation to familiarize yourself with the codebase.

For contributing guidelines, refer to the CONTRIBUTING.md file.

If you have any questions or run into issues, feel free to open an issue on GitHub or contact the DjangoForge support team.


Happy coding!