Skip to content

Flask boilerplate using the application factory with basic authentication.

License

Notifications You must be signed in to change notification settings

onosendi/flask-boilerplate

Repository files navigation

flask-boilerplate

Flask boilerplate using the application factory with basic authentication.

Installation

Clone the repository

git clone https://github.com/onosendi/flask-boilerplate.git

Change directory into flask-boilerplate

cd flask-boilerplate

Create your virtual environment

python3 -m venv venv

Enter your virtual environment

source venv/bin/activate

Install Python dependencies

pip install -r requirements.txt

Apply migrations to database

flask db upgrade

NPM

Install dependencies

npm install

Bundle

For production
npm run build
For development
npm start

Run Flask

If you are running npm start for development, run Flask in a separate terminal so both servers are running.

flask run

Now visit localhost:5000 in your browser.

About

Flask boilerplate using the application factory with basic authentication.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published