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
- Project Directory | Branch on Github | Video On YouTube
- Admin Blueprint | Branch on Github | Video On YouTube
- Users Model | Branch On Github | Video On YouTube
- Storing Passwords | Branch On Github | Video On YouTube
- Sessions | Branch On Github | Video On YouTube
- Admin Login Page | Branch On Github | Video On YouTube
- Inheriting/Extending Templates | Branch On Github | Video On YouTube
- Message Flashing | Branch On Github | Video On YouTube
- PermissionBased Views | Branch On Github | Video On YouTube
- Showing Form Errors | Branch On Github | Video On YouTube
- Handling SQLAlchemy Errors | Branch On Github | Video On YouTube
- Database Relations | Branch On Github | Video On YouTube
- Relations in SQLAlchemy | Branch On Github | Video On YouTube
- Redirect in Flask, Create New Post Page | Branch On Github | Video On YouTube
- Showing blog posts | Branch On Github | Video On YouTube
- Modify database data, More Admin Panel Pages. | Branch On Github | Video On YouTube
- Add Category {Create, List, Modify, Delete} Pages. | Branch On Github | Video On YouTube
- Customized WTForms Field | Branch On Github | Video On YouTube
- Search ability in posts | Branch On Github | Video On YouTube
- Getting started with static files | Branch On Github | Video On YouTube
- File Uploader | Branch On Github | Video On YouTube
- Sending mail with Flask | Branch On Github | Video On YouTube
- Using Redis for storing tokens in Flask | Branch On Github | Video On YouTube
- Pagination | Branch On Github | Video On YouTube
- Clone the repo by
$ git clone https://github.com/DarkSuniuM/FlaskBlog.git
- Go to cloned directory and create a virtual environment
$ python3 -m virtualenv venv
orpy -3 -m virtualenv venv
if you are using Windows! - Activate the virtual environment using
$ ./venv/bin/activate
or$ .\venv\Scripts\activate.bat
if you are using Windows! - Install the requirements using
$ pip install -r requirements.txt
- Copy
.env.example
to.env
and fill in the keys. - Run the migrations by
$ flask db upgrade
- Run the project using
$ flask run
Ask your questions on the comments section in YouTube, I try to answer the ones I can!
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.
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.