Welcome to Mezanmi API! This guide will help you set up and run the project locally.
you can find all the dependencies inside the requirements.txt
file
git clone https://github.com/lemayzeur/mezanmi.git
cd mezanmi
./setup.sh
Alternatively, you have the option to perform this task manually after cloning the repository.
git clone https://github.com/lemayzeur/mezanmi.git
cd mezanmi
- Create a virtual environment:
python -m venv env
- Activate the virtual environment:
-
On Windows:
.\env\Scripts\activate
-
On macOS/Linux:
source env/bin/activate
- Install project dependencies:
pip install -r requirements.txt
- Create a copy of the
.env.example
file and rename it to.env
:
cp .env.example .env
Update the values in .env
as needed.
- Run database migrations:
python manage.py migrate
- Start the development server:
python manage.py runserver
Your project will be accessible at http://localhost:8000/