This is a final project of CS465/565P for bulding a personal blog website using Python and Flask!
Deployment: https://yq-blogsite.herokuapp.com/
-
Clone:
git clone https://github.com/full-stack-final-project/Personal-blog-website.git
cd Personal-blog-website
-
Install pipenv: pip install pipenv
-
Create and activate virtual env for this project:
pipenv install
pipenv shell
-
Generate database data using command: flask make-faker
-
Run the project using command: flask run
- running on http://127.0.0.1:5000/
-
flask init -- setting username & password & site_title for the website.
-
flask init-database -- clearing all the original data in the database and then creating new empty database.
-
flask routes -- showing the routes for the app
-
flask shell --- running a shell in the app context.
Username: admin
Password: fullstack