- Install Python 3 along with pip. If you're running Linux, your distribution will provide packages you can use.
- Install NodeJS (16.17+) which comes along with npm (5.2+).
- Follow the instructions here to install the virtualenv and related tools
- Open a terminal and run
virtualenv venv
. This creates a virtual Python 3 environment where you can install packages specific to this app. - Activate the virtual environment then install pip requirements with
pip install -r requirements_pip.txt
.
Run the following command:
. venv/bin/activate (OSX/Linux)
. venv/Scripts/activate (Windows)
Run deactivate
to exit the virtualenv.
You will likely need two terminal instances.
You don’t need to restart the server(s) for code changes to take effect. However, some actions like adding files may not show up, so you’ll have to restart the server(s) in these instances.
Quit the server(s) with CONTROL-C.
- Navigate to the root folder of the repository.
- Run
python manage.py runserver
.
By default, the server will run on port 8000. http://127.0.0.1:8000/
- Navigate to the root folder of the repository. Then navigate to
/wellness_fe
. - Run
npm start
.
By default, the server will run on port 3000. http://127.0.0.1:3000/