Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 744 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 744 Bytes

Installation

  1. Clone the repository:
git clone https://github.com/Animesh-Ghosh/TripMoksha-Task.git
  1. Create virtual environment:
python3 -m venv venv
  1. Activate virtual environment:

    Linux

    source venv/bin/activate

    Windows

    .\venv\Scripts\activate
  2. Install dependencies:

pip install -r requirements.txt
  1. Add GitHub OAUTH TOKEN:
  • Create a personal access token from here.
  • Add the token in a .env file as OAUTH_TOKEN='{YOUR_OAUTH_TOKEN}'.

Run

  1. Run the development server:
flask run
  1. Either go to site being served by Flask server or use cURL or some other API client.