Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 574 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 574 Bytes

Analisa Sistem Desain (E-Commerce)

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:

  1. Set working directory pada folder ini
  2. $ ./FlaskRun
  3. Buka 0.0.0.0:5000/

Cara menjalankan 2:

  1. $ python Run.py