https://github.com/shutdown57/login
simple login module with flask and flask login-manager and postgresql database
https://github.com/shutdown57/login
flask flask-login flask-sqlalchemy postgresql python python3 sqlalchemy
Last synced: 3 months ago
JSON representation
simple login module with flask and flask login-manager and postgresql database
- Host: GitHub
- URL: https://github.com/shutdown57/login
- Owner: shutdown57
- License: gpl-3.0
- Created: 2019-11-05T08:30:54.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-20T02:07:04.000Z (almost 5 years ago)
- Last Synced: 2025-03-16T04:43:45.846Z (10 months ago)
- Topics: flask, flask-login, flask-sqlalchemy, postgresql, python, python3, sqlalchemy
- Language: HTML
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple login flask application
## Usage
```bash
$ git clone https://github.com/shutdown57/login.git
$ pip install -r requirements.txt
```
Change username, password and database name in ```config.py``` file
Run in debug mode
** Windows ```set DEBUG=1```
** Linux and Mac
```bash
$ export DEBUT=1
```
Then: ```$ FLASK_APP="src:create_app('Development')" flask run```
### Shell Context
```bash
$ FLASK_APP="src:create_app('Development')" flask shell
```
### Docker
If you use postgresql database with docker:
```bash
$ docker-compose -f develop-compose.yaml up
```