Skip to content

farhad2785/BlogFlask1

Repository files navigation

FlaskBlog

The first project of my Flask Tuts Series in Persian! We are going to develop a blog using Flask, Each episode, has it's own branch

Episodes

  1. Project Directory | Branch on Github | Video On YouTube
  2. Admin Blueprint | Branch on Github | Video On YouTube
  3. Users Model | Branch On Github | Video On YouTube
  4. Storing Passwords | Branch On Github | Video On YouTube
  5. Sessions | Branch On Github | Video On YouTube
  6. Admin Login Page | Branch On Github | Video On YouTube
  7. Inheriting/Extending Templates | Branch On Github | Video On YouTube
  8. Message Flashing | Branch On Github | Video On YouTube
  9. PermissionBased Views | Branch On Github | Video On YouTube
  10. Showing Form Errors | Branch On Github | Video On YouTube
  11. Handling SQLAlchemy Errors | Branch On Github | Video On YouTube
  12. Database Relations | Branch On Github | Video On YouTube

Setup and Run

  1. Clone the repo by $ git clone https://github.com/DarkSuniuM/FlaskBlog.git
  2. Go to cloned directory and create a virtual environment $ python3 -m virtualenv venv or py -3 -m virtualenv venv if you are using Windows!
  3. Activate the virtual environment using $ ./venv/bin/activate or $ .\venv\Scripts\activate.bat if you are using Windows!
  4. Install the requirements using $ pip install -r requirements.txt
  5. Copy .env.example to .env and fill in the keys.
  6. Run the migrations by $ flask db upgrade
  7. Run the project using $ flask run

The Serie

Playlist on YouTube

Ask your questions on the comments section in YouTube, I try to answer the ones I can!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published