After cloning this repository, create a conda environment for this project and activate the environment:
$ conda create --name cwindividual python=3.12
$ conda activate cwindividualWith the conda environment active, install the backend (Python) dependencies:
(cwindividual)$ cd Forum
(cwindividual)$ pip install -r requirements.txtThe main backend dependencies (see requirements.txt) are the Django framework itself (Django) and django-cors-headers which is needed for CORS requests (since the request origin address http://localhost:5713 is different from the address that sent the JavaScript code to the browser http://localhost:8000).
To start the backend server cd into the backend folder where the manage.py file is (if not already there)
(cwindividual)$ cd Forumand run
(cwindividual)$ python manage.py runserverThe server will start on http://localhost:8000
To install the frontend (JavaScript) dependencies cd into the frontend folder
(cwindividual)$ cd frontendand run:
(cwindividual)$ npm installThe main frontend dependencies (see package.json) are vue and bootstrap.
To start the frontend server run
(cwindividual)$ npm run devand the server will start on http://localhost:5173