Skip to content

Latest commit

 

History

History
88 lines (56 loc) · 964 Bytes

README.md

File metadata and controls

88 lines (56 loc) · 964 Bytes
  1. Navigate to the project directory:
cd react-python-tutorial
  1. Navigate to the backend directory:
cd backend
  1. Create a virtual environment:
  • On macOS and Linux:
python3 -m venv venv
  • On Windows:
python -m venv venv
  1. Activate the virtual environment:
  • On macOS and Linux:
source venv/bin/activate
  • On Windows:
venv\Scripts\activate
  1. Install the dependencies:
  • On macOS and Linux:
pip3 install -r requirements.txt
  • On Windows:
pip install -r requirements.txt
  1. Navigate to the frontend directory:
cd ../frontend
  1. Install the dependencies:
npm install
  1. Build the frontend:
npm run build
  1. Navigate to the backend directory:
cd ../backend
  1. Run the Flask app:
flask run
  1. Open your browser and go to http://localhost:5000/ to view the app.