This README provides instructions for setting up and running the Flask applications for the desigo, enteliweb, and metasys packages. Each package contains an app.py file that runs on a different port.
Python 3.x installed
- Clone the Repository Clone the repository containing the desigo, enteliweb, and metasys packages to your local machine.
git clone https://github.com/ptidejteam/bms-api-mockup
cd bms-api-mockup
- Install Dependencies Navigate to the root directory of the project and install the required dependencies using the single requirements.txt file. It’s recommended to use a virtual environment.
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Each application can be run separately on different ports. Below are the instructions for running each application.
NB: You must rename sample_env
to .env
before running any of the applications
- Run enteliweb Application
cd enteliweb
source ../venv/bin/activate
python app.py
- Run metasys Application
cd ../metasys
source ../venv/bin/activate
python app.py
- Run desigo Application
cd ../desigo
source ../venv/bin/activate
python app.py
- Open the Postman application.
- Click on the Import button located in the top-left corner of the app.
- In the Import modal, select the File tab.
- Click Upload Files and select the files in teh
postman_collections
folder to import them. - Postman will automatically import the collections and display it in the Collections tab.
Note that the Python application(s) must be running before using the Postman documentation after the importation