-
Notifications
You must be signed in to change notification settings - Fork 3
Flask setup
(To do after resolving issue #16)
Please ensure that python3 is already installed in the system.
Set up Flask in order to use the python script as an api from NodeJS. Follow the steps in order to achieve this.
Go to the root of the repository and run 'cd api'.
Set up a virtual environment.
For Unix-based systems, run
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ _
For Windows based systems, run
$ python -m venv venv
$ source venv/Scripts/activate
(venv) $ _
Install flask and dotenv packages for python.
$ pip install flask python-dotenv
Now, run the Flask server
(venv) $ flask run
The api is now active on http://127.0.0.1:5000/
Wiki
One-click set up with Docker
Project Workflow
Website Implementation
Database Implementation
Algorithm Implementation
Mock Data
Document Dictionary