Guide for setting up and running the CL Rides App locally.
- Create the virtual environment
python3 -m venv venv
- Activate your virtual environment
source venv/bin/activate
Or for Windowscd venv\Scripts
.\activate.bat
- Install the dependencies
pip install -r requirements.txt
- (Optional but recommended) Set the
FLASK_ENV
environment variableexport FLASK_ENV=development
- This setting enables automatic reloads so you don't have to restart the server each time you make changes, just refresh the page.
- Run the application
flask run
Or for Windowscd C:User\filepath\CL-Rides-Pog
set FLASK_ENV=development
set FLASK_APP=app
python -m flask run