-
If you don’t have Python installed, install it from here.
-
Clone this repository.
-
Navigate into the project directory:
$ cd Katalis-Backend
-
Create a new virtual environment:
$ python -m venv venv $ . venv/bin/activate
-
Install the requirements:
$ pip install -r requirements.txt
-
Make a copy of the example environment variables file:
$ cp .env.example .env
-
Add your API key to the newly created
.env
file. -
Run the app:
$ flask run $ flask run -h localhost -p 7000
-
Check if system running by pasting url to chrome
$ http://127.0.0.1:5000/health
- Install MySQL server on your local computer
- Add db connetion url to SQLALCHEMY_DATABASE_URI in .env file
- Uncommment create table API
- Run create Table API with Postman