/Flask-Blog

A Flask-based mini-project for learning purposes, featuring the development of a blog application.

Primary LanguagePython

FlaskBlog

This mini-project is my effort to learn Flask. I developed a blog using Flask.

Setup and Run

  1. Clone the repo by $ git clone https://github.com/mhmp98/Flask-Blog.git
  2. Go to cloned directory and create a virtual environment $ python3 -m virtualenv venv or py -3 -m virtualenv venv
  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