Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
 
 
 
 
 
 
 
 

Full-stack Flask App

CircleCI

Sample project using Flask + MySQL + SQLAlchemy + PyTest + Docker.
Run tests is automated with CircleCI.

포스트 높은 품질의 Flask 웹 애플리케이션 설계하기를 작성하며 만든 레파지토리 입니다.

How to build & run

$ docker build -t my_flask_app .
$ docker run -p 8080:80 \
 	-e MYSQL_USER=<username> \
 	-e MYSQL_PASS=<password> \
 	-e MYSQL_DB=<database> \
 	--rm my_flask_app

How to run tests

$ PYTHONPATH=app \
	MYSQL_USER=test_user \
	MYSQL_PASS=<some-other-pass> \
	MYSQL_DB=<my_app_test_db> \
	pytest tests

About

Sample project using Flask + MySQL + SQLAlchemy + PyTest + Docker

Resources

Releases

No releases published

Packages

No packages published