Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 619 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 619 Bytes

Flask example for the sloppy.io cloud

This is an example to run a nginx frontend with a python flask backend. The example json has 3 variables, which will be replaced with the values commited through the sloppy cli.

Variables:

  • PROJECT: Your sloppy project
  • URI: The url of the project

To start the nginx-flask

sloppy start -var=PROJECT:test -var=URI:test.sloppy.zone flask.json

In this example you can reach the app under http://test.sloppy.zone. To see the logs of the nginx and the flask container you can use the cli:

sloppy logs test