This is a flask microblog for my test
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
app
migrations
.gitattributes
.gitignore
Dockerfile
License
Pipfile
Pipfile.1
Pipfile.lock
Procfile
README.md
babel.cfg
boot.sh
docker-compose.yml
example.env_online
microblog.py
test.py

README.md

Welcome to my microblog

This is my flask practice according to The Flask Mega-Tutorial.

How to start it use docker-compose(need a docker-ce enviroment on your system)

1. git clone my_microblog, run "git clone https://github.com/w8833531/my_microblog && cd my_microblog" command.

2. config your setting in example.env_online file

3. rename this file from example.env_online to .env_online run "mv example.env_online .env_online" command

4. run "docker-compose up" command to start your microblog app

5. Access URL: http://127.0.0.1:5000

6. Stop & remove run "docker-compose stop" to stop all docker containers, run "docker-compose rm" to rm all docker containers, run ", run "docker volume rm microblog_mysqldata" to remove mysqldata volume"