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

sloppyio/flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published