This is a Blog Application develop with Flask, MySQL, Peewee (ORM), HTML & CSS.
-
Requirements for use this APP:
- Windows
Create Virtual Environment with the command: python -m venv env Run the Virtual Environment with the command: source \venv\Scripts\activate- Mac OS, Linux
Create Virtual Environment with the command: python3 -m venv env Run the Virtual Environment with the command: source env/bin/activate
- Create the .env file with the Database Connection variables => USER_MYSQL, PASSWORD_MYSQL, DB_MYSQL.
- Add too the cloudinary data connection => CLOUD_NAME, API_KEY & API_SECRET.
- Install Packages:
- pip install -r requirements.txt
- For running, run the command:
python manage.py runserver(Windows)python3 manage.py runserver(Mac OS, Linux)