- Clone the repository:
git clone https://github.com/Animesh-Ghosh/TripMoksha-Task.git
- Create virtual environment:
python3 -m venv venv
-
Activate virtual environment:
Linux
source venv/bin/activate
Windows
.\venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
- Add GitHub OAUTH TOKEN:
- Create a personal access token from here.
- Add the token in a
.env
file asOAUTH_TOKEN='{YOUR_OAUTH_TOKEN}'
.
- Run the development server:
flask run
- Either go to site being served by Flask server or use cURL or some other API client.