To set up the project from the GitHub repository, follow these steps:
- Clone the Repository: Open a terminal or command prompt and navigate to the directory where you want to store the project. Use the following command to clone the repository:
git clone https://github.com/pndychrg/TicketProviderAPI.git
- Install Dependencies: Check if the project has a requirements.txt file that lists the necessary dependencies. In the terminal or command prompt, navigate to the project directory and run the following command to install the required packages:
pip install -r requirements.txt
This command will read the requirements.txt file and install all the packages specified in it. Make sure you have Python and pip installed on your machine.
- Run the Project:
To run the API, follow these steps:
-
Navigate to the base folder of the project in the terminal or command prompt.
-
Run the following command to start the API: python run.py