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
- Clone the repo by
$ git clone https://github.com/DarkSuniuM/FlaskBlog.git - Go to cloned directory and create a virtual environment
$ python3 -m virtualenv venvorpy -3 -m virtualenv venvif you are using Windows! - Activate the virtual environment using
$ ./venv/bin/activateor$ .\venv\Scripts\activate.batif you are using Windows! - Install the requirements using
$ pip install -r requirements.txt - Copy
.env.exampleto.envand 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!