Skip to content

frozin01/Web-Flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-Flask

Web application built with Flask.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/frozin01/Web-Flask.git
    cd Web-Flask
  2. Create a virtual environment:

    python -m venv venv
  3. Activate the virtual environment:

    • On Windows:
      venv\scripts\activate
    • On macOS/Linux:
      source venv/bin/activate
  4. Install the dependencies:

    pip install -r requirements.txt

Configuration

  1. Setup Flask:

    DEBUG=TRUE
    FLASK_PORT=5000
    FLASK_HOST=0.0.0.0
  2. Setup database:

    DB_HOST=127.0.0.1
    DB_NAME=web-flask
    DB_USER=postgres
    DB_PASS=postgres
    DB_PORT=5432

Execution

  1. Ensure the virtual environment is activated.

  2. Run the application:

    python app.py

    The application will be accessible at http://127.0.0.1:5000.

Contributing

  1. Fork the repository.

  2. Create a new branch:

    git checkout -b feature/your-feature-name
  3. Make your changes.

  4. Stage your changes:

    git add .
  5. Commit your changes:

    git commit -m 'Add some feature'
  6. Push to the branch:

    git push origin feature/your-feature-name
  7. Submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

Web application built with Flask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages