First off, thanks for taking the time to contribute! Your help is greatly appreciated.
There are several ways you can help make this project better:
- Reporting bugs.
- Suggesting new features or enhancements.
- Writing code for new features or bug fixes.
- Improving documentation.
- Reviewing pull requests and offering feedback.
- Fork the repository by clicking the "Fork" button on the GitHub page.
- Clone your fork to your local machine:
git clone https://github.com/your-username/blog_platform.git cd blog_platform
-
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Set up the environment variables. Create a
.envfile in the project root and add your configuration:FLASK_APP=manage.py FLASK_ENV=development DATABASE_URL=postgresql://user:password@localhost:5432/blog_platform
-
Set up the database:
flask db upgrade
To run the application locally:
flask run