Skip to content

kawazaki0/sample_flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Flask Project

This is a sample Flask project built for Flask teaching purposes.

Installation

  1. Clone the repository:

    git clone https://github.com/kawazaki0/sample_flask.git
    cd sample_flask
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the dependencies:

    pip install -r requirements.txt

Running the Application

  1. Set environment variables:

    export FLASK_SKIP_DOTENV=1  # on Windows use `set FLASK_SKIP_DOTENV=1`
  2. Run the Flask application:

    python sample_flask/app.py
  3. Open your web browser and go to http://127.0.0.1:5000/.

Test

Run the tests:

pytest

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages