Skip to content

Has few APIs with swagger interface to interact with sandbox IAP

Notifications You must be signed in to change notification settings

shubham941122/naas-port-launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note: Install python3.x with its path added in system variables before running the app

Running in the python virtual environment

  • Open cmd or powershell and cd into the project folder
  • For creating a new virtual environment named "naas_venv", enter python -m venv naas_venv
  • enter ./naas_venv/Scripts/activate to activate the naas_venv virtual environment
  • install the required dependencies in naas_venv by entering pip install -r ./requirements.txt
  • enter python main.py to run the flask server at port 5000
  • use ctrl+C to stop the server
  • to exit the virtual env, enter deactivate

Running in system's python environment

  • Open cmd/powershell/bash terminal and cd into the project folder
  • install the required dependencies in your system by entering pip install -r ./requirements.txt
  • enter python main.py to run the flask server at port 5000
  • use ctrl+C to stop the server

Swagger Documentation will be available at http://localhost:5000/docs

Note: Creating a new virtual environment and installing dependencies is a one time process

About

Has few APIs with swagger interface to interact with sandbox IAP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published