Flask-Based Backend for CloudWorx project.
As part of a joint project called "CloudWorx", this repository is part of a three part series involving the work of three students. The other two repositories are:
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
.\venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
-
-
Install the required packages:
pip install -r requirements.txt
-
Make a copy of the
env.samplefile and rename that copy to.env. Update the values in the.envfile as needed. -
Look through the
.envfile and make sure USE_LOCAL_CONFIG is set to1to use the local configuration. -
Navigate to
wsgiand run the application:python -m wsgi
-
The application will now be available at
http://127.0.0.1:6174/for HTTP API access
You can find the documentation for the API at http://127.0.0.1:5000/docs on the local config or alternatively at https://networkninjas.gobbler.info/docs
