An open API service indexing awesome lists of open source software.

https://github.com/davidcruciani/ptit-crolle

Flask application template
https://github.com/davidcruciani/ptit-crolle

boilerplate flask-template

Last synced: 2 months ago
JSON representation

Flask application template

Awesome Lists containing this project

README

          

# P'tit Crolle

Alt text

Flask application template

## What's in ?

- Vuejs3

- Blueprints

- Flask-Login

- Flask-SQLAlchemy for databases

- Flask-WTF for forms

- Flask-session for sessions

- Some roles are already created

## Installation

**It is strongly recommended to use a virtual environment**

If you want to know more about virtual environments, [python has you covered](https://docs.python.org/3/tutorial/venv.html)

```bash
pip install -r requirements.txt
python3 app.py -i ## Initialize db
```

## Config

Edit `config.py`

- `SECRET_KEY`: Secret key for the app

- `FLASK_URL` : url for the instance

- `FLASK_PORT`: port for the instance

## Launch

```bash
./launch.sh -l
```