3. Install and run the project locally
Backend
Install Pyenv and Python version
I recommend using pyenv
to install the Python version of your choice:
brew install pyenv
Install Python 3.11:
pyenv install 3.11
Activate Python 3.11 on the local folder:
pyenv local 3.11
Install Poetry
pip install poetry
Dependencies
Install the Python dependencies:
poetry install
Activate the virtual environment
source ./venv/bin/activate
Create a .env file
Create an .env
on the root of the project by copying the content of .env.sample
and populate its values to the desired ones.
Running the initial migrations
cd backend
python manage.py migrate
Running the application’s backend
Backend:
python manage.py runserver
Client
Install the dependencies
cd client
npm install
Running the application’s frontend
npm start