Skip to content

This is an example Flask application with automated tests, linters, and deployments.

Notifications You must be signed in to change notification settings

UtahRETC/python-sample-cicd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample CI/CD Python project

This is an example Flask application with automated tests, linters, and deployments.

Running locally

You will need Pipenv to run this application locally. Refer to https://pipenv.pypa.io/en/latest/installation.html for instructions on how to install Pipenv.

Useful commands

  • ./scripts/install, install dependencies.
  • ./scripts/lint, run code formatters and linters.
  • ./scripts/test, run automated tests.
  • ./scripts/run, start the web server.

Configuration

The following configuration values are managed with environment variables. For example, run PORT=9001 DEBUG=1 ./scripts/run to run the application in debug mode and listen to requests on port 9001.

  • DEBUG, toggle debug mode.
  • HOST, the host to listen on.
  • PORT, the port to listen on.

About

This is an example Flask application with automated tests, linters, and deployments.

Resources

Stars

Watchers

Forks