* 註冊 Heroku, github 請下載 HeidiSQL, VS code
- git clone https://github.com/huanchen1107/aiot0530-start-no-token 到 local\aiot_hw5 folder
- 推送至github
- pip install -r requirements.txt
- register heroku account
- go to dashboard
- new an app
- go to resource and add-on an Heroku postgredb
- 到 Postgresql / Settings / Database Credentials 取得資料庫資訊
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>"
- git push origin master
- AI