demetrius-mp / pyblog

Blog application developed with Flask and Bootstrap 5.

Home Page:https://flask-app-pyblog.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyblog

Installation and execution

  1. Clone the repository using the following command:
git clone git@github.com:demetrius-mp/pyblog.git
  1. Change to the repository directory:
cd pyblog
  1. Create a virtual environment and install the requirements:
  • Using conda
conda create -n pyblog python=3.9
conda activate pyblog
pip install -r requirements.txt
  • Using python venv
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Create your .secrets.toml using the provided template
openssl rand -base64 32
  1. Run database migration:
flask db init
flask db migrate
flask db upgrade
  1. Run the server:
flask run
  • To run in development mode:
export FLASK_ENV=development
flask run

About

Blog application developed with Flask and Bootstrap 5.

https://flask-app-pyblog.herokuapp.com/


Languages

Language:Python 49.8%Language:HTML 41.3%Language:JavaScript 7.7%Language:CSS 1.1%Language:Procfile 0.0%Language:Shell 0.0%