عکس DarkSuniuM
A blog using Flask, as the project of my Flask Tuts Serie on YouTubePython
موضوع‌ها
۰
فورک‌ها
۱
ستاره‌ها
۱۶
تاریخ ایجاد
۲۹ مهر ۱۳۹۸
آخرین بروزرسانی
نزدیک ۳ سال قبل

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
  13. Relations in SQLAlchemy | Branch On Github | Video On YouTube
  14. Redirect in Flask, Create New Post Page | Branch On Github | Video On YouTube
  15. Showing blog posts | Branch On Github | Video On YouTube
  16. Modify database data, More Admin Panel Pages. | Branch On Github | Video On YouTube
  17. Add Category {Create, List, Modify, Delete} Pages. | Branch On Github | Video On YouTube
  18. Customized WTForms Field | Branch On Github | Video On YouTube
  19. Search ability in posts | Branch On Github | Video On YouTube
  20. Getting started with static files | Branch On Github | Video On YouTube
  21. File Uploader | Branch On Github | Video On YouTube
  22. Sending mail with Flask | Branch On Github | Video On YouTube
  23. Using Redis for storing tokens in Flask | Branch On Github | Video On YouTube
  24. Pagination | 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!

Sponcers

HostHey

You can visit their website: https://hosthey.net

They gave us a dicount code which you can use for a month of Free Python Shared Host!

  • EP 34 (21 of this project), Provided server to run mail server.

AzarData

You can visit their website: https://azardata.net

They gave us a dicount code which gives you 20% off of the price, it works on everything expect domains!

  • EP 36 (23 of this project), Provided server to run mail server.