* 註冊 Heroku, github 請下載 HeidiSQL, VS code
- git clone https://github.com/huanchen1107/aiot0530-start-no-token 到 local\aiot0531 folder
- 把local的 \aiot0531.git 殺掉 (產生自己的git管理員) 方便建立新的git repository
- 推送至github 建立新的 aiot0531 https://github.com/huanchen1107/aiot0531
pip install gunicorn Flask==2.0.1 Jinja2==3.0.1 psycopg2 sklearn pandas numpy
- register heroku account
- go to dashboard
- new an app
- go to resource and add-on an Heroku postgredb
myserver ="<fill-in-Heroku-Postgredb-DB-sever>"
myuser="<fill-in-Heroku-Postgredb-DB-user>"
mypassword="<fill-in-Heroku-Postgredb-DB-pwd>"
mydb="<fill-in-Heroku-Postgredb-DB-db>"
myserver ="<fill-in-Heroku-Postgredb-DB-sever>"
myuser="<fill-in-Heroku-Postgredb-DB-user>"
mypassword="<fill-in-Heroku-Postgredb-DB-pwd>"
mydb="<fill-in-Heroku-Postgredb-DB-db>"
delete .git and git remote add origin master github.com/xxxxx
Sample link 1: https://awinlab-aiot.herokuapp.com/
Sample link 2: https://aiot0529.herokuapp.com/