├── .env.template ├── .flaskenv ├── .github └── workflows │ ├── codeql-analysis.yml │ └── docker_build_push.yml ├── .gitignore ├── .travis.yml ├── Dockerfile ├── Procfile ├── README.md ├── app.json ├── app ├── __init__.py ├── config.py ├── models.py └── routes.py ├── bootstrap.py ├── migrations ├── README ├── alembic.ini ├── env.py ├── script.py.mako └── versions │ └── 461de817e3d2_.py ├── requirements-server.txt ├── requirements.txt ├── runtime.txt ├── seed.py └── tests ├── __init__.py └── test_routes.py /.env.template: -------------------------------------------------------------------------------- 1 | DATABASE_URL= -------------------------------------------------------------------------------- /.flaskenv: -------------------------------------------------------------------------------- 1 | FLASK_APP=bootstrap.py 2 | -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/docker_build_push.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/.github/workflows/docker_build_push.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/.travis.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/Dockerfile -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: flask db upgrade; python seed.py; gunicorn app:app 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/README.md -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/app.json -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/app/__init__.py -------------------------------------------------------------------------------- /app/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/app/config.py -------------------------------------------------------------------------------- /app/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/app/models.py -------------------------------------------------------------------------------- /app/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/app/routes.py -------------------------------------------------------------------------------- /bootstrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/bootstrap.py -------------------------------------------------------------------------------- /migrations/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /migrations/alembic.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/migrations/alembic.ini -------------------------------------------------------------------------------- /migrations/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/migrations/env.py -------------------------------------------------------------------------------- /migrations/script.py.mako: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/migrations/script.py.mako -------------------------------------------------------------------------------- /migrations/versions/461de817e3d2_.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/migrations/versions/461de817e3d2_.py -------------------------------------------------------------------------------- /requirements-server.txt: -------------------------------------------------------------------------------- 1 | gunicorn==20.0.4 2 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/requirements.txt -------------------------------------------------------------------------------- /runtime.txt: -------------------------------------------------------------------------------- 1 | python-3.8.6 2 | -------------------------------------------------------------------------------- /seed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/seed.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edonosotti/ci-cd-tutorial-sample-app/HEAD/tests/test_routes.py --------------------------------------------------------------------------------