鄉民關心你 - 專案開發指南
編輯歷史
| 時間 | 作者 | 版本 |
|---|---|---|
| 2014-03-25 12:08 – 12:40 | r2339 – r2424 | |
顯示 diff(87 行未修改)
準備開發環境
W For indows
- 1
+ 1據說目前 windows 的安裝方式壞掉了 , 似乎無法抓到 Vbox 檔案 (我是沒有人但我不會修) - 20140325
*安裝 Vagrant (1.3.4) http://downloads.vagrantup.com/
*安裝 virtalbox https://www.virtualbox.org/wiki/Downloads
(1 行未修改)
*how? google "[motherboard] bios VT"
*Environment variable -> path added C:\Program Files\Oracle\VirtualBox;
- *安裝 git (1.8.4) http://git-scm.com/download/win
+ *注: Vagrant 1.3.4 只支援 virtalbox 4.
+ ,4.1,4.2 版本*安裝 git (1.8.4) http://git-scm.com/download/win
*try cmd -> git (看看有沒有這個指令)
*安裝 mingw http://sourceforge.net/projects/mingw/files/
(19 行未修改)
|
||
| 2014-01-12 08:30 – 08:30 | r2337 – r2338 | |
顯示 diff(117 行未修改)
|
||
| 2013-11-14 18:37 – 18:41 | r2282 – r2336 | |
顯示 diff(35 行未修改)
*Python: pytest-quickcheck
*Haskell: quickcheck
- *Others
+ *Third party service.
*webpage screenshot capture: urlshot
*http://blog.darkthread.net/post-2013-08-29-phantomjs.aspx
+ *新聞比對(news diff)
+ *國內: http://newsdiff.g0v.ronny.tw/
+ *國外: http://newsdiffs.org/
Source Code
(72 行未修改)
|
||
| 2013-11-14 12:12 – 12:14 | r2211 – r2281 | |
顯示 diff(7 行未修改)
*Data Exchange: JSON
*Auth: pgrest + nodejs passport
- *Backend:
+ *Backend PgREST:
*Restful DB: Postsql + PgRest
*介紹簡報: node.js in the database
*https://npmjs.org/package/plv8x
*Test Framwork: Mocha
+ *Backend ROR
*Frontend Web:
- *HTML5 applications Assembler: Brunch
+ *bootstrap
+ *semantic-ui
+ *HTML5 applications Assembler:
+ *Brunch (....) (in develop branch)
+ *ng-boilerplate (in car branch)
*MVW Framwork: AngularJS
*CSS Authoring Framework: Compass
- *CSS Grid System: Sysy
*Visualization lib: D3.js
*Test Framwork: Karma
(89 行未修改)
|
||
| 2013-11-03 16:05 – 16:06 | r2170 – r2210 | |
顯示 diff(31 行未修改)
*Python: pytest-quickcheck
*Haskell: quickcheck
+ *Others
+ *webpage screenshot capture: urlshot
+ *http://blog.darkthread.net/post-2013-08-29-phantomjs.aspx
Source Code
(3 行未修改)
前端(Web): https://github.com/g0v/kuansim-frontend
後端(Restful DB): https://github.com/g0v/kuansim-backend
+ 後端(ROR): https://github.com/g0v/kuansim-rails
Chef Cookbook: https://github.com/kuansim-cookbooks/
DevOps codes: https://github.com/kuansim-devops
(64 行未修改)
|
||
| 2013-10-18 12:42 | r2169 | |
顯示 diff(92 行未修改)
*c. environment variable -> path added C:\MinGW\bin;C:\MinGW\msys\1.0\bin
*cmd (開啟-> cmd [Enter])
- *git clone git@github.com:g0v/kuansim.git
+ *git clone https://github.com/g0v/kuansim.git
*git checkout develop // 確保在 develop branch
*cd kuansim/cookbooks/kuansim
(9 行未修改)
|
||
| 2013-10-13 13:14 – 13:53 | r1653 – r2168 | |
顯示 diff(77 行未修改)
W For indows
1
+ *安裝 Vagrant (1.3.4) http://downloads.vagrantup.com/
+ *安裝 virtalbox https://www.virtualbox.org/wiki/Downloads
+ *確定電腦的 Virtualization Technology enabled
+ *how? google "[motherboard] bios VT"
+ *Environment variable -> path added C:\Program Files\Oracle\VirtualBox;
+ *安裝 git (1.8.4) http://git-scm.com/download/win
+ *try cmd -> git (看看有沒有這個指令)
+ *安裝 mingw http://sourceforge.net/projects/mingw/files/
+ *MinGW install manager-> Basic Setup -> select
+ *mingw-developer toolkit
+ *mingy32-base
+ *msys-base
+ *b. Installation -> apply change
+ *c. environment variable -> path added C:\MinGW\bin;C:\MinGW\msys\1.0\bin
+ *cmd (開啟-> cmd [Enter])
+ *git clone git@github.com:g0v/kuansim.git
+ *git checkout develop // 確保在 develop branch
+ *cd kuansim/cookbooks/kuansim
+ *vagrant plugin install vagrant-berkshelf
+ *vagrant up
+ *有可能 第一次fail 但是不要慌,第二次應該OK
+ *看到 INFO: Chef Run complete in 1419.211913507 seconds 表示成功了!!
+ *vagrant ssh 就可以進入 vm 開發
+ *cd /opt/kuansim/backend
+ *npm start
+ *開啟瀏覽器 http://127.0.0.1:3000/collections 應該會有些資訊 like ["bookmarks","news","tags","users","webpages"]
+ *
|
||
| 2013-10-13 13:14 | r1652 | |
顯示 diff(79 行未修改)
|
||
| 2013-10-13 13:14 – 13:14 | r1644 – r1651 | |
顯示 diff(75 行未修改)
準備開發環境
+ W For indows
+ 1
|
||
| 2013-10-13 13:14 | r1643 | |
顯示 diff(77 行未修改)
|
||
| 2013-10-13 13:13 – 13:14 | r1640 – r1642 | |
顯示 diff(71 行未修改)
*import data: https://github.com/g0v/moedict-data-twblg/blob/master/Makefile
*plv8x: https://npmjs.org/package/plv8x
+
+
+
+ 準備開發環境
|
||
| 2013-10-10 08:49 – 08:50 | r1616 – r1639 | |
顯示 diff(39 行未修改)
後端(Restful DB): https://github.com/g0v/kuansim-backend
Chef Cookbook: https://github.com/kuansim-cookbooks/
+ DevOps codes: https://github.com/kuansim-devops
專案管理模型
(18 行未修改)
*$ cd kuansim/cookbooks/kuansim
*kuansim/cookbooks/kuansim $ vagrant up
- *你的code可以在/vagrant下找到
- *開啟瀏覽器打 http://localhost:6987/collections, 即可操作rest api.
+ *開啟瀏覽器打 http://localhost:3/collections, 即可操作rest api.
*停止 service
*kuansim/cookbooks/kuansim $ vagrant ssh -c "stop kuansim"
(6 行未修改)
|
||
| 2013-10-05 04:54 – 04:55 | r1573 – r1615 | |
顯示 diff 鄉民關心你 - 專案開發指南
- 技術架構
+ 技術架構(Technique Selection)
*Programming Language:
(68 行未修改)
|
||
| 2013-09-08 04:38 – 04:44 | r1453 – r1572 | |
顯示 diff(11 行未修改)
*介紹簡報: node.js in the database
*https://npmjs.org/package/plv8x
- *Frontend:
+ *Test Framwork: Mocha
+ *Frontend Web:
*HTML5 applications Assembler: Brunch
*MVW Framwork: AngularJS
+ *CSS Authoring Framework: Compass
+ *CSS Grid System: Sysy
*Visualization lib: D3.js
- *Mobile APP Framwork: Any
- *Test Framwork: http://visionmedia.github.io/mocha/
+ *Test Framwork: Karma
+ *Frontend Mobile APP
+ *Framwork: Any
*Version Control: Git
*Continuation Testing: Travis
(46 行未修改)
*import data: https://github.com/g0v/moedict-data-twblg/blob/master/Makefile
*plv8x: https://npmjs.org/package/plv8x
-
-
-
-
-
- This ad is supporting your extension SmoothScroll. Turn off these ads?
|
||
| 2013-08-18 01:34 | r1452 | |
顯示 diff(75 行未修改)
|
||
| 2013-08-18 01:34 | r1451 | |
顯示 diff(67 行未修改)
*import data: https://github.com/g0v/moedict-data-twblg/blob/master/Makefile
*plv8x: https://npmjs.org/package/plv8x
+
+
+
+
+
+ This ad is supporting your extension SmoothScroll. Turn off these ads?
|
||
| 2013-08-13 13:30 | r1450 | |
顯示 diff(46 行未修改)
*安裝 Vagrant
- *閱讀利用 Vagrant 開發g0v.tw 專案
+ *閱讀利用 Vagrant 開發g0v.tang'w 專案
*安裝 Berkshelf
*$ vagrant plugin install vagrant-berkshelf
(18 行未修改)
|
||
| 2013-08-11 03:48 | r1449 | |
顯示 diff(63 行未修改)
*啟動static web
*$ cd kuansim/frontend/web
- *$ script/server.sh
+ *$ scripts/server.sh
*使用方式見
*import data: https://github.com/g0v/moedict-data-twblg/blob/master/Makefile
(1 行未修改)
|
||
| 2013-08-09 09:00 – 09:02 | r1447 – r1448 | |
顯示 diff(69 行未修改)
|
||
| 2013-08-09 08:28 – 08:28 | r1439 – r1446 | |
顯示 diff(46 行未修改)
*安裝 Vagrant
- *閱讀利用 Vagrant 開發http://www.flickr.com/photos/marksein/9471620738/ g0v.tw 專案
+ *閱讀利用 Vagrant 開發g0v.tw 專案
*安裝 Berkshelf
*$ vagrant plugin install vagrant-berkshelf
(18 行未修改)
|
||
| 2013-08-09 08:28 | r1438 | |
顯示 diff(69 行未修改)
|
||
| 2013-08-09 08:28 | r1437 | |
顯示 diff(69 行未修改)
|
||
| 2013-08-09 08:11 | r1436 | |
顯示 diff(46 行未修改)
*安裝 Vagrant
- *閱讀利用 Vagrant 開發 g0v.tw 專案
+ *閱讀利用 Vagrant 開發http://www.flickr.com/photos/marksein/9471620738/ g0v.tw 專案
*安裝 Berkshelf
*$ vagrant plugin install vagrant-berkshelf
(18 行未修改)
|
||
| 2013-08-08 10:57 – 10:57 | r1428 – r1435 | |
顯示 diff(69 行未修改)
|
||
| 2013-08-07 14:17 – 14:38 | r1335 – r1427 | |
顯示 diff(27 行未修改)
*Python: pytest-quickcheck
*Haskell: quickcheck
+
+ Source Code
+
+ All: https://github.com/g0v/kuansim
+ 前端(Chrome Extension): https://github.com/g0v/kuansim_chrome
+ 前端(Web): https://github.com/g0v/kuansim-frontend
+ 後端(Restful DB): https://github.com/g0v/kuansim-backend
+ Chef Cookbook: https://github.com/kuansim-cookbooks/
專案管理模型
(30 行未修改)
|
||
| 2013-08-06 06:14 – 06:18 | r1308 – r1334 | |
顯示 diff(3 行未修改)
*Programming Language:
- *Web: LiveScript
+ *Web: LiveScript (Frontend and Backend)
*Glue Tool: Python or any.
*Data Exchange: JSON
- *Auth: g0v single sign on
+ *Auth: pgrest + nodejs passport
*Backend:
*Restful DB: Postsql + PgRest
(50 行未修改)
|
||
| 2013-08-05 17:12 – 17:21 | r1212 – r1307 | |
顯示 diff(16 行未修改)
*Visualization lib: D3.js
*Mobile APP Framwork: Any
+ *Test Framwork: http://visionmedia.github.io/mocha/
*Version Control: Git
*Continuation Testing: Travis
(11 行未修改)
*It is done when it is done
*TDD is preferred, but without unit testing is fine.
- *Git branching mode
+ *Git branching mode (非強求, 但新功能不要直接在master 做)
*Git commit style
(9 行未修改)
*取得源碼
*$ git clone git@github.com:g0v/kuansim.git
- *啟動VM環境
+ *啟動DB
*$ cd kuansim/cookbooks/kuansim
*kuansim/cookbooks/kuansim $ vagrant up
(2 行未修改)
*停止 service
*kuansim/cookbooks/kuansim $ vagrant ssh -c "stop kuansim"
+ *啟動static web
+ *$ cd kuansim/frontend/web
+ *$ script/server.sh
*使用方式見
*import data: https://github.com/g0v/moedict-data-twblg/blob/master/Makefile
(1 行未修改)
|
||
| 2013-07-28 06:35 – 06:35 | r1210 – r1211 | |
顯示 diff(30 行未修改)
*It is done when it is done
- *TDD is prefred, but without unit tesing is fine.
+ *TDD is preferred, but without unit testing is fine.
*Git branching mode
*Git commit style
(22 行未修改)
|
||
| 2013-06-19 10:27 – 10:31 | r1183 – r1209 | |
顯示 diff(13 行未修改)
*Frontend:
*HTML5 applications Assembler: Brunch
- *MVW Framwork: Agura Js
+ *MVW Framwork: AngularJS
*Visualization lib: D3.js
*Mobile APP Framwork: Any
(14 行未修改)
*TDD is prefred, but without unit tesing is fine.
*Git branching mode
- *Git commt style
+ *Git commit style
準備開發環境
(20 行未修改)
|
||
| 2013-06-17 06:15 – 06:16 | r1166 – r1182 | |
顯示 diff(46 行未修改)
*$ git clone git@github.com:g0v/kuansim.git
*啟動VM環境
- *$ cd kuansim
- *kuansim $ vagrant up
+ *$ cd kuansim/cookbooks/kuansim
+ *kuansim/cookbooks/kuansim $ vagrant up
*你的code可以在/vagrant下找到
*開啟瀏覽器打 http://localhost:6987/collections, 即可操作rest api.
*停止 service
- *kuansim $ vagrant ssh -c "stop kuansim"
+ *kuansim/cookbooks/kuansim $ vagrant ssh -c "stop kuansim"
*使用方式見
*import data: https://github.com/g0v/moedict-data-twblg/blob/master/Makefile
(1 行未修改)
|
||
| 2013-06-16 20:51 – 20:53 | r1115 – r1165 | |
顯示 diff(48 行未修改)
*$ cd kuansim
*kuansim $ vagrant up
- *kuansim $ vagrant ssh
*你的code可以在/vagrant下找到
- *架設 Restful Web and DB
- *sudo su postgres -c 'createdb MYDB'
- *sudo su postgres -c "psql MYDB -c 'create extension plv8'"
- *sudo npm i pgrest -g
- *sudo su postgres -c "pgrest --db tcp://postgres:hackg0v@localhost/MYDB" &
- *開啟瀏覽器打 http://localhost:6987/collections
+ *開啟瀏覽器打 http://localhost:6987/collections, 即可操作rest api.
+ *停止 service
+ *kuansim $ vagrant ssh -c "stop kuansim"
*使用方式見
*import data: https://github.com/g0v/moedict-data-twblg/blob/master/Makefile
(1 行未修改)
|
||
| 2013-06-13 14:47 – 14:50 | r1072 – r1114 | |
顯示 diff(10 行未修改)
*Restful DB: Postsql + PgRest
*介紹簡報: node.js in the database
+ *https://npmjs.org/package/plv8x
*Frontend:
*HTML5 applications Assembler: Brunch
(40 行未修改)
*sudo npm i pgrest -g
*sudo su postgres -c "pgrest --db tcp://postgres:hackg0v@localhost/MYDB" &
+ *開啟瀏覽器打 http://localhost:6987/collections
+ *使用方式見
+ *import data: https://github.com/g0v/moedict-data-twblg/blob/master/Makefile
+ *plv8x: https://npmjs.org/package/plv8x
|
||
| 2013-06-13 14:47 | r1071 | |
顯示 diff(56 行未修改)
|
||
| 2013-06-13 14:46 – 14:47 | r1026 – r1070 | |
顯示 diff(44 行未修改)
*取得源碼
*$ git clone git@github.com:g0v/kuansim.git
- *啟動環境
+ *啟動VM環境
*$ cd kuansim
*kuansim $ vagrant up
*kuansim $ vagrant ssh
*你的code可以在/vagrant下找到
+ *架設 Restful Web and DB
+ *sudo su postgres -c 'createdb MYDB'
+ *sudo su postgres -c "psql MYDB -c 'create extension plv8'"
+ *sudo npm i pgrest -g
+ *sudo su postgres -c "pgrest --db tcp://postgres:hackg0v@localhost/MYDB" &
|
||
| 2013-06-13 08:40 – 08:42 | r1003 – r1025 | |
顯示 diff(40 行未修改)
*$ vagrant plugin install vagrant-berkshelf
*安裝 Git
+ *安裝 git-flow , or flowhub
*安裝 editconfig
*取得源碼
(6 行未修改)
|
||
| 2013-06-12 05:05 – 05:06 | r964 – r1002 | |
顯示 diff(46 行未修改)
*$ cd kuansim
*kuansim $ vagrant up
- *Restful API Server 會開在 localhost: 6987
+ *kuansim $ vagrant ssh
+ *你的code可以在/vagrant下找到
|
||
| 2013-06-12 05:04 | r963 | |
顯示 diff(49 行未修改)
|
||
| 2013-06-12 05:03 – 05:04 | r907 – r962 | |
顯示 diff(28 行未修改)
專案管理模型
+ *It is done when it is done
*TDD is prefred, but without unit tesing is fine.
*Git branching mode
(16 行未修改)
|
||
| 2013-06-12 05:03 | r906 | |
顯示 diff(48 行未修改)
|
||
| 2013-06-12 04:21 – 05:03 | r126 – r905 | |
顯示 diff 鄉民關心你 - 專案開發指南
- 現在做
+ 技術架構
+
+ *Programming Language:
+ *Web: LiveScript
+ *Glue Tool: Python or any.
+ *Data Exchange: JSON
+ *Auth: g0v single sign on
+ *Backend:
+ *Restful DB: Postsql + PgRest
+ *介紹簡報: node.js in the database
+ *Frontend:
+ *HTML5 applications Assembler: Brunch
+ *MVW Framwork: Agura Js
+ *Visualization lib: D3.js
+ *Mobile APP Framwork: Any
+ *Version Control: Git
+ *Continuation Testing: Travis
+ *Develop VM: Vagrant
+ *Deploy: Chef, Berkshelf
+ *Server OS: GNU/Linux Ubuntu
+ *Fake Data Generator:
+ *MoreText
+ *QuickCheck-like modules
+ *Python: pytest-quickcheck
+ *Haskell: quickcheck
+
+ 專案管理模型
+
+ *TDD is prefred, but without unit tesing is fine.
+ *Git branching mode
+ *Git commt style
+
+ 準備開發環境
*安裝 Vagrant
*閱讀利用 Vagrant 開發 g0v.tw 專案
+ *安裝 Berkshelf
+ *$ vagrant plugin install vagrant-berkshelf
*安裝 Git
*安裝 editconfig
*取得源碼
- *
-
- 有空做
-
- *
+ *$ git clone git@github.com:g0v/kuansim.git
+ *啟動環境
+ *$ cd kuansim
+ *kuansim $ vagrant up
+ *Restful API Server 會開在 localhost: 6987
|
||
| 2013-06-12 04:21 | r125 | |
顯示 diff(14 行未修改)
|
||
| 2013-06-12 04:21 – 04:21 | r120 – r124 | |
顯示 diff(9 行未修改)
*
- 有空座
+ 有空做
+
+ *
|
||
| 2013-06-12 04:21 | r119 | |
顯示 diff(12 行未修改)
|
||
| 2013-06-12 04:17 – 04:21 | r16 – r118 | |
顯示 diff 鄉民關心你 - 專案開發指南
- tbd
+ 現在做
+
+ *安裝 Vagrant
+ *閱讀利用 Vagrant 開發 g0v.tw 專案
+ *安裝 Git
+ *安裝 editconfig
+ *取得源碼
+ *
+
+ 有空座
|
||
| 2013-06-11 02:47 – 02:47 | r5 – r15 | |
顯示 diff- 鄉民專案開發指南
- 專案開發指
+ 鄉民關心你 - 專案開發指南
+
+ tbd
|
||
| 2013-06-11 02:47 | r4 | |
顯示 diff(2 行未修改)
|
||
| 2013-06-11 02:47 – 02:47 | r2 – r3 | |
顯示 diff+ 鄉民專案開發指南
專案開發指
|
||
| 2013-06-11 02:47 – 02:47 | r0 – r1 | |
顯示 diff-
+ 專案開發指
|
||