- Install docker-ce
- Install docker-compose
- You can see the current database structure in sqldump.sql
- The sqldump.sql file will be used to initialize the database as specified in docker-compose.yml
- Run
docker-compose build
to build/rebuild containers - Run
docker-compose up
to start the containers - Wait till the database is up, you will see message similar to the following after you run docker-compose up.
db_1 | 2019-09-08T12:43:40.745433Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.17' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
- Changes you make to the application can be viewed in the browser
- Run
docker-compose down
to stop and remove containers, networks, volumes, and images created - To connect to the application, use url http://0.0.0.0:5000/
- To connect to adminer, use url http://localhost:8080/ and view/export the database
-
Notifications
You must be signed in to change notification settings - Fork 0
raghavddps2/Basic-Blog-Application-in-Flask
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This is a basic blog application in flask, which has all the CRUD operations and a login and registration system as well.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published