Web application built with Flask.
-
Clone the repository:
git clone https://github.com/frozin01/Web-Flask.git cd Web-Flask -
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install the dependencies:
pip install -r requirements.txt
-
Setup Flask:
DEBUG=TRUE FLASK_PORT=5000 FLASK_HOST=0.0.0.0
-
Setup database:
DB_HOST=127.0.0.1 DB_NAME=web-flask DB_USER=postgres DB_PASS=postgres DB_PORT=5432
-
Ensure the virtual environment is activated.
-
Run the application:
python app.py
The application will be accessible at
http://127.0.0.1:5000.
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/your-feature-name
-
Make your changes.
-
Stage your changes:
git add . -
Commit your changes:
git commit -m 'Add some feature' -
Push to the branch:
git push origin feature/your-feature-name
-
Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.