Skip to content

mickgeek/flask-flaskr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flaskr

Flaskr is a classic Python template (based on the Flask framework) to quickly create complete web application. Included Vagrant and Docker makes to configure the deployment environment in a flexible way.

Integration

Installation

  • Clone the repository, copy .env.example to .env and docker/.env.example to docker/.env and modify them as you wish. You can also edit docker/docker-compose.yml if necessary.
  • Execute the command vagrant up.
  • Try going to the web address: https://192.168.33.10:8080.
  • For authorization, use the next bunch of username/password: admin/admin.

Tests

Change the TESTING configuration value to True in the docker/python/flaskr/config.py file and execute the following commands:

  • $ sudo docker-compose run --rm -w /home python python3 -m unittest -v flaskr.tests.functional.test_blog
  • $ sudo docker-compose run --rm -w /home python python3 -m unittest -v flaskr.tests.integration.test_database

About

A simple blog on the Flask framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published