This repository contains the Flaskr application, which is a simple blog application created by following the official Flask tutorial.
To run this application, you'll need the following:
- Python 3.x installed on your system
- Flask framework
-
Clone the repository:
git clone https://github.com/SinkuKumar/Flaskr.git cd Flaskr
-
Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
-
Initialize the database:
flask init-db
-
Run the application:
flask run
To run tests for this application, use the following command:
pytest
The tests are located in the tests/
directory.
Access the application in your web browser at http://localhost:5000
.
If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository on GitHub.
- Create a new branch for your changes.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your fork.
- Submit a pull request with a detailed explanation of your changes.
This project is licensed under the MIT License - see the LICENSE file for details.