Simple flask login without database
Clone project
$ git clone https://github.com/tpapic/flask-login.git
or download zip
If you don't have virtualenv installed
$ sudo pip install virtualenv
Once you have virtualenv installed, just fire up a shell and create your own environment.
$ cd flask-login
$ virtualenv venv
New python executable in venv/bin/python
Installing setuptools, pip............done.
When you want to work on a project just activate your working environment
$ . venv/bin/activate
After that you can make own env with packages
$ pip install Flask
and etc...
Run server
python app.py
When you want back to real world:
Press Ctrl+c to stop server
And
$ deactivate
App
- Username: admin
- password: 123
and enjoy :)
Please visit
- Flask - Flask doc
- Virtualenv Flask - Virtualenv Flask