username = superuser
password = superuser
Required package (install using pip)
flask
flask-sqlalchemy
flask-bcrypt
flask-login
flask-mail
flask-wtf
pillow
flask-admin
Menentukan environment variable
export FLASK_APP=Run.py
export MAIL_USERNAME="email" - Pengaturan safe app email harus dimatikan
export MAIL_PASSWORD="password"
Cara menjalankan 1:
- Set working directory pada folder ini
- $ ./FlaskRun
- Buka 0.0.0.0:5000/
Cara menjalankan 2:
- $ python Run.py