Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jod35/fun-blog
A blog app built with an intension of having fun with Python and the Flask Framework
https://github.com/jod35/fun-blog
bootstrap4 flask fun mysql
Last synced: 11 days ago
JSON representation
A blog app built with an intension of having fun with Python and the Flask Framework
- Host: GitHub
- URL: https://github.com/jod35/fun-blog
- Owner: jod35
- Created: 2020-02-24T08:52:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-16T18:28:56.000Z (about 2 years ago)
- Last Synced: 2023-03-05T14:03:15.705Z (over 1 year ago)
- Topics: bootstrap4, flask, fun, mysql
- Language: Python
- Size: 5.33 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fun-blog
A blog app built with an intension of having fun with Python and the Flask Framework## How it works
- Users sign up to get an account
- They then log in to their accounts
- Users can view blog posts and comment on posts.
- Users can delete and edit posts
- Admins can manage all user accounts## Built with
- Flask
- Flask-Login
- Flask-SQLAlchemy
- Flask-WTF
- Boostrap 4
- MySQL Database## To run,
- `git clone https://github.com/jod35/fun-blog.git`
- `cd fun-blog`
- `source venv/bin/activate`
- `pip install -r requirements.txt`
- `python3 app.py`
## To set up the database
- `SQLALCHEMY_DATABASE_URI='mysql://:@localhost/'
- `export FLASKAPP=app.py` in the terminal
- `flask db upgrade` in the terminal