HackMD
    • Sharing Link copied
    • /edit
    • View mode
      • Edit mode
      • View mode
      • Book mode
      • Slide mode
      Edit mode View mode Book mode Slide mode
    • Note Permission
    • Read
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • Write
      • Only me
      • Signed-in users
      • Everyone
      Only me Signed-in users Everyone
    • More (Comment, Invitee)
    • Publishing
    • Commenting Enable
      Disabled Forbidden Owners Signed-in users Everyone
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Invitee
    • No invitee
    • Options
    • Versions
    • Transfer ownership
    • Delete this note
    • Template
    • Save as template
    • Insert from template
    • Export
    • Google Drive Export to Google Drive
    • Gist
    • Import
    • Google Drive Import from Google Drive
    • Gist
    • Clipboard
    • Download
    • Markdown
    • HTML
    • Raw HTML
Menu Sharing Help
Menu
Options
Versions Transfer ownership Delete this note
Export
Google Drive Export to Google Drive Gist
Import
Google Drive Import from Google Drive Gist Clipboard
Download
Markdown HTML Raw HTML
Back
Sharing
Sharing Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
More (Comment, Invitee)
Publishing
More (Comment, Invitee)
Commenting Enable
Disabled Forbidden Owners Signed-in users Everyone
Permission
Owners
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Invitee
No invitee
   owned this note    owned this note      
Published Linked with
Like BookmarkBookmarked
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
--- tags: g0v-summit, 2020 --- # Grantdash 筆記 ## 會議記錄 ### 2020/05/14 #### summit 2020 grantdash(?) 時程 - 5/19 stage server - 給行銷組 - 能夠清楚的表述需要提供的文字、圖片需求 - 5/27 production server - 開始提案 - Static pages - 註冊登入帳號(g0v slack) - 提案 (二個月 or 一個半月) - CRUD - 歷史紀錄 - markdown editor - 接續一個月後? 提案結束進入討論 2 週至一個月 - 串接 https://discuss.grants.g0v.tw/ - 追蹤功能 - 搜尋功能 - 接續一個月後? 討論結束,進入審議結果 - 審議結果列表 #### Grandash 使用流程 1. 三階段(依日期分) 1. 提案階段,大家可自由報名 2. 修改階段,不可報名,但已報名的還可修改 3. 評審階段,都不可改 1. 目前 config 裡的日期,沒有和邏輯連動, 1. 請自行把 html 編輯的按鈕拿掉 1. 哪些需要手動改東西 1. 要注意有些欄位會出現在多個檔案裡,請參考 Ronny `修改需求欄位` 2. 其他請參考 Ronny `一些動作` 1. 需要自架 [discourse](https://www.discourse.org/) ,塞到 grantdash config 裡 1. 要測試是否需要兩邊都 login 才能留言 ## 暫定六月中上線前的規劃: 1. 建立 stage server 2. 了解頁面時間點的邏輯,哪個時間邏輯控制頁面的呈現 3. 提供 stage 頁面給行銷組 4. 剪法修改網站 5. Production 上線 ## 讀書心得 1. init setting 1. copy conig/config.json + key.json 2. copy metrics/config.json 3. Docker node:6.11-onbuild not work on Ubuntu XD 2. tech stack: 1. node 0.10.x + with ES6 support over babel 2. express with http + socket.io (0.9.14 使用 process.EventEmitter ,綁 node 0.10) - view: jade + less - route - session store [over Mongo](https://www.npmjs.com/package/connect-mongo) 3. backbone 1.1.2 - load by express in most of routes 3. routes / features: 1. api - `/api/v2/dashboard` - flat CRUD - `/api/v2/collections` - flat CRUD - `/api/v2/projects` - depth = 2 CRUD + socket.io (unsure) - `/:pid/followers` - `/:pid/contributors` - user.js - not CRUD, collection of multiple endpoint XD - `/:domain/draft` - `/:domain/admins/:uid` - `/users/:id` - `/users/team` - `/profiles/:uid` 3. site (non API related route) - whole bunch of redirection, apply view data (`meta.js`), and render view 4. admin - just for first installation check 5. metrics - cronjob that count user, project, dashboard, and collection periodically 4. socket.io - listen to `post`, and ? 6. data schema (lib/models) `請參見 Ronny 筆記 / monbodb 結構` 1. collection - list of dashboards that belong to a user 1. dashboard - 1. draft 1. project - 提案 with revision history 1. user 6. Backbone UI - WIP - in `client` directory - Use Grunt to build + copy file to `../public` 8. Pure Jade loaded by Express directly - `/` - `/2018` - `/power/` && `/power/en` - `/issue/` - `/news/` ## Ronny 筆記 * mongodb 結構 * dashboards: * 表示一個活動,裡面可以有很多提案,以 grants 為例是 2017a, 2017s, 2018, 2019 等活動 * 主要 key 是 domain * 欄位: * open: 是否在開放提案階段 * showcase: list * 在 summit 的話,一個 dashboard 可以當成一軌議程 * projects: * 表示一個提案 * 欄位: * finalist: 入圍 * awarded: 得獎 * draft * 草稿,會在頁面上隨時做儲存動作 * 一些動作 * 新增 dashboard 1. 改 grantdash/data 下的 dashboards.json 2. 進到 grants.g0v.tw 主機內 * docker-compose -f docker-compose.yml -f docker-compose.prod.yml run --rm mongodb mongoimport --host mongodb --db hackdash --collection dashboards --file /dev/stdin * 貼上 dashboards.json 上的內容 * * 中止新增提案 * 停止提案修改 * 修改需求欄位 * https://github.com/g0v/grantdash/commit/38c308d787021547d26d65d6623c42d0e81d7873 有三個地方要改 ## 待解問題 1. 網站資訊、頁面架構 2. 提案相關情境們的流程圖 3. letsencrypt-nginx docker 4.

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lost their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.


Upgrade

All
  • All
  • Team
No template.

Create a template


Upgrade

Delete template

Do you really want to delete this template?

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

Sign in via GitHub

New to HackMD? Sign up

Help

  • English
  • 中文
  • 日本語

Documents

Tutorials

Book Mode Tutorial

Slide Example

YAML Metadata

Resources

Releases

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions

Versions

Upgrade now

Version named by    

More Less
  • Edit
  • Delete

Note content is identical to the latest version.
Compare with
    Choose a version
    No search result
    Version not found

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.