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