Skip to content

g0v/vtaiwan.tw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

開發請改到這裡: http://github.com/g0v/vue.vtaiwan.tw

This repository is not actively maintained; the current https://vtaiwan.tw/ site is being developed in this repository:

http://github.com/g0v/vue.vtaiwan.tw

vTaiwan.tw

行政院法規線上諮詢系統 1.0

  • 開發在 gh-pages 分支,預覽在 https://demo.vtaiwan.tw/
  • Please send pull requests and commits toward gh-pages
  • 部署在 master 分支,會在 https://vtaiwan.tw/
  • This require a manual merge and will take effect in 1hr (after CloudFlare cache expiry)

目前已如期在 2/1 上線!FB: https://www.facebook.com/vtaiwan.tw

上線後繼續每周五小松更新系統,下次大幅更新已另開 repo 完成:

http://github.com/g0v/react.vtaiwan.tw

部署機的範例設定

分為兩個 process 來跑(可以跑在不同的 screen 或 rc.local 裡):

perl -e while (sleep 60) { system("npm install && gulp") if `git pull 2>&1` =~ /-> origin.master/ }
env USE_HTTPS=1 forever server.js

然後再用 CloudFlare 的自動 SSL 連到 server 上即可。

目前正計劃加上 INDEX_URL 參數後 Dockerize。