40823245 cd2021

  • Home
    • Site Map
    • reveal
    • blog
  • About
  • WORKS
    • stage1
      • W1
      • W2~W3
      • W4
      • 分組程式測試(待測試)
      • 後續
      • W5
      • 新增鏡頭
    • stage2
      • W6
      • W7
      • W8
      • W9
    • stage3
      • W10
      • task1
      • task2
      • task3
      • stage3作業
      • W15
      • W16
      • W17
      • W18
  • 筆記
    • 建立網頁
    • 9443
    • 8444
    • ssh
    • 上傳
    • 更改標題
    • Zoomit
    • 使用cms和acp指令
    • 合併組員倉儲
    • heroku
    • gitlab
      • gitlab-ssh
    • gogs
    • fossil
  • 網站影片
  • GitHub Pages問題
  • github問題
合併組員倉儲 << Previous Next >> gitlab

heroku

heroku影片版本(影片中的帳號為另1之帳,小組網站資料夾也為stage1的,請自行更改)

影片5分多~9分多為跑程式,可略過

登入heroku,辦帳號

以s+學號,建立第一個app(https://s學號.herokuapp.com)

載heroku,放在data裡

修改路徑

set path_heroku=%Local%\heroku\bin;

%path_heroku%;

重啟後測試是否能執行heroku.exe

打heroku version

有上面回應就是可以

進到tmp>stage2-bg1(自己組)

打git remote add heroku https://git.heroku.com/s40823245.git

可以在.git裡面的config看到

若資料夾裡不是最新的版本要先git pull

heroku指令

在黑窗打指令登錄heroku

heroku login -i

輸入剛剛創heroku帳號的email

輸入heroku的密碼

然後打git push heroku

就能在https://s學號.herokuapp.com看到stage2-bg1(自己組)的網站


合併組員倉儲 << Previous Next >> gitlab

Copyright © All rights reserved | This template is made with by Colorlib