๐Ÿ“ Ubuntu์—์„œ Notion ๋ณ€ํ™˜ํ•ด์„œ ์‚ฌ์šฉํ•˜๊ธฐ

ddarkยท2020๋…„ 9์›” 6์ผ
1
post-thumbnail

Notion (๋…ธ์…˜)์—์„œ๋Š” ๋ฆฌ๋ˆ…์Šค(๋ฐ๋น„์•ˆ) ์šฉ ํด๋ผ์ด์–ธํŠธ๋Š” ๊ณต์‹์ ์œผ๋กœ ์ง€์›ํ•˜์ง€ ์•Š๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

Hey we don't want to release on platforms that we cannot ensure the quality โ€“ the team is still small and we don't use Linux ourselves ๐Ÿ™Š
- @NotionHQ, ํŠธ์œ„ํ„ฐ ๋ฐœ์ทŒ

ํŠธ์œ„ํ„ฐ์—์„œ๋Š” ์ž์‹ ๋“ค์ด ๋ฆฌ๋ˆ…์Šค๋ฅผ ์‚ฌ์šฉํ•˜์ง€ ์•Š๊ณ  ์•„์ง ํŒ€์ด ์†Œ๊ทœ๋ชจ๋ผ๋Š” ์ด์œ ์—์„œ๋ผ๊ณ  ํ•˜๋„ค์š”. (์•„๋ฌด๋ž˜๋„ ๊ณ ๊ฐ์ง€์› ๋ฌธ์ œ...?)
ํ•˜์ง€๋งŒ, Notion์€ ๋งŽ์€ ๋ถ„๋“ค์ด ์•Œ๊ณ  ๊ณ„์‹œ๋“ฏ Electron์„ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์–ด์š”.

์ตœ๊ทผ ์šฐ๋ถ„ํˆฌ๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์‹œ์ž‘ํ•œ ์ €๋Š”, ์ œ๊ฐ€ ์• ์šฉํ•˜๋Š” Notion์„ ํด๋ผ์ด์–ธํŠธ๋กœ ์‚ฌ์šฉํ•˜๋Š” ๋ฒ•์„ ์ฐพ๊ณ  ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค.

๐Ÿฅฃ ๋น„๊ณต์‹ ํด๋ผ์ด์–ธํŠธ๋“ค...

์ œ๊ฐ€ ์‚ฌ์šฉํ•ด๋ณด์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค. ์–ด๋””๊นŒ์ง€๋‚˜ ๋น„๊ณต์‹์ด๋‹ˆ ์ฑ…์ž„์€ ๋ณธ์ธ์—๊ฒŒ ์žˆ์–ด์š”.

  • lotion - ๋ฆฌ๋ˆ…์Šค ๊ณ„์—ด์—์„œ ์‚ฌ์šฉํ•˜๊ธฐ ํŽธํ•œ ํด๋ผ์ด์–ธํŠธ๋”๋ผ๊ตฌ์š”. ๋ณต์žกํ•œ ๊ฒƒ์„ ์‹ซ์–ดํ•˜์‹ ๋‹ค๋ฉด ์ด ํด๋ผ์ด์–ธํŠธ๋„ ์ถ”์ฒœ๋“œ๋ ค์š”.
  • notion-app - ์•„์ง ๊ฐœ๋ฐœ์ค‘์ธ ๋ฒ„์ „์ธ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

๐Ÿฅ‚ Windows ๋ฒ„์ „์„ ์šฐ๋ถ„ํˆฌ์—์„œ?

Notion์˜ ๊ณต์‹ ํด๋ผ์ด์–ธํŠธ ์ค‘ Windows ๋ฒ„์ „์„ ํฌํŒ…ํ•ด์„œ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. macOS์ฒ˜๋Ÿผ์˜ ๋ฏธ๋ คํ•จ์€ ๊ธฐ๋Œ€ํ•˜์ง€ ๋ชปํ•˜๊ฒ ์ง€๋งŒ, ์•„์ง๊นŒ์ง€ ์‚ฌ์šฉํ•˜๋ฉด์„œ ๋ฌธ์ œ๋Š” ์—†์—ˆ์Šต๋‹ˆ๋‹ค. (๋ฌผ๋ก  ํ•˜๋ฃจ ์‚ฌ์šฉํ–ˆ์Šต๋‹ˆ๋‹ค (ใ…‹ใ…‹ใ…‹..

ํฌํŒ…ํ•ด๋ณด์ž!

๊ตฌ๊ธ€๋ง ๋„์ค‘, ์šด์ด ์ข‹๊ฒŒ๋„ notion-deb-builder ์ €์žฅ์†Œ์—์„œ ๋ณ€ํ™˜์„ ๊ฐ„ํŽธํ•˜๊ฒŒ ํ•ด์ฃผ๋Š” ์Šคํฌ๋ฆฝํŠธ๋ฅผ ๋ฐœ๊ฒฌํ–ˆ์Šต๋‹ˆ๋‹ค.

Ubuntu 20.04, zsh, ๊ธฐ์ค€์œผ๋กœ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค.
ํ•„์š”: nvm, yarn, apt

โ€ป yarn์˜ ๊ฒฝ์šฐ, global bin ๋””๋ ‰ํ„ฐ๋ฆฌ๊ฐ€ PATH์— ๋“ฑ๋ก๋˜์–ด ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. (yarn global bin)

๐Ÿ•ถ ์‹œ์Šคํ…œ ์ •๋ณด

> node -v     
v12.18.3
> yarn -v  
1.22.5
> yarn global bin 
/home/ddark/.yarn/bin
  1. Git ์ €์žฅ์†Œ ํด๋ก 
> git clone https://github.com/davidbailey00/notion-deb-builder.git
> cd notion-deb-builder
  1. ์Šคํฌ๋ฆฝํŠธ๊ฐ€ ์‚ฌ์šฉํ•˜๋Š” Node.js ์˜์กด์„ฑ ํŒจํ‚ค์ง€ ์„ค์น˜
> yarn global add asar electron-packager electron-installer-debian
  1. Electron ๋นŒ๋“œ ์˜์กด์„ฑ ์„ค์น˜
> sudo apt install build-essential p7zip-full imagemagick fakeroot
  1. Notion Desktop ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ
> wget 'https://desktop-release.notion-static.com/Notion%20Setup%202.0.9.exe' -O notion.exe
  1. ์Šคํฌ๋ฆฝํŠธ ์‹คํ–‰
> ./build.sh win
  1. output ํ™•์ธ
> cd out
> ls
notion-desktop_2.0.9-win-win_amd64.deb
  1. ์„ค์น˜
> sudo dpkg -i notion-desktop_2.0.9-win-win_amd64.deb

๐Ÿ‘” Pre-built

์ด๋ฏธ ๋นŒ๋“œ๋˜์–ด, dpkg๋กœ ์„ค์น˜๋งŒ ํ•˜๋ฉด ๋˜๋Š” ํŒจํ‚ค์ง€์ž…๋‹ˆ๋‹ค. ์ œ๊ฐ€ ๋นŒ๋“œํ•œ ํŒจํ‚ค์ง€์™€ ์Šคํฌ๋ฆฝํŠธ ์ œ์ž‘์ž๋ถ„์ด ๋นŒ๋“œํ•˜์‹  ์ €์žฅ์†Œ ๋ชจ๋‘ ์˜ฌ๋ฆฌ๊ฒ ์Šต๋‹ˆ๋‹ค.

  • notion-dev-builder - Windows ๋ฒ„์ „๊ณผ macOS ๋ฒ„์ „ ๊ฐ์ž ์˜ฌ๋ผ์˜ต๋‹ˆ๋‹ค.
  • notion-for-debian - (๊ธ€์“ด์ด ๋ ˆํฌ) ์ฃผ๋กœ Windows ๋ฒ„์ „์„ ๋นŒ๋“œํ•ฉ๋‹ˆ๋‹ค. ์ œ๊ฐ€ ์‹คํ–‰๋˜๋ฉด ๋ฆด๋ฆฌ์ฆˆํ•  ๊ฒƒ ๊ฐ™์•„์š”.

๐Ÿ˜ท ์—ฌ๋‹ด

  • ๋ฆฌ๋ˆ…์Šค ๊ณ„์—ด์€ ํ™•์‹คํžˆ ๋งค๋ ฅ ์žˆ์ง€๋งŒ, ๊ทธ ๋งค๋ ฅ๋งŒํผ ์‹œ๊ฐ„ ํˆฌ์ž๋„ ํ•„์š”ํ•œ ๊ฒƒ ๊ฐ™๋„ค์š”. ๋งค๋ ฅ๊ณผ ์‹œ๊ฐ„์€ ๋น„๋ก€ํ•˜๋Š” ๋Š๋‚Œ์ด์—์š”.
  • Notion ๊ณต์‹ ํด๋ผ์ด์–ธํŠธ์ด๊ธด ํ•˜์ง€๋งŒ, ๋ฆฌ๋ˆ…์Šค ๊ณ„์—ด์—์„œ์˜ ๊ณ ๊ฐ ์ง€์›์€ (์œ„์—์„œ ์„œ์ˆ ํ–ˆ๋“ฏ) ์•ˆ๋ ๊ฒ๋‹ˆ๋‹ค. ์ž๋ฃŒ๊ฐ€ ์œ ์‹ค๋˜๋„ ์–ด๋””๊นŒ์ง€๋‚˜ ๋ณธ์ธ ์ฑ…์ž„!
  • ๊ฑด๊ฐ•๋„ ์ฑ™๊ฒจ์š” ์šฐ๋ฆฌ.

2๊ฐœ์˜ ๋Œ“๊ธ€

comment-user-thumbnail
2020๋…„ 10์›” 23์ผ

๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ubuntu๋ฅผ ์ฒ˜์Œ ๊น”์•„๋ด์„œ notion์„ ์–ด๋–ป๊ฒŒ ๊น”์ง€? ๋ผ๋Š” ์ƒ๊ฐ์„ ํ–ˆ์—ˆ๋Š”๋ฐ. ๋ฆด๋ฆฌ์ฆˆํ•ด์ฃผ์‹  .deb ํŒŒ์ผ์œผ๋กœ ํ•ด๊ฒฐํ•˜์˜€์Šต๋‹ˆ๋‹ค.

๋‹ต๊ธ€ ๋‹ฌ๊ธฐ
comment-user-thumbnail
2021๋…„ 3์›” 26์ผ

๋ฐฐํฌํ•ด์ฃผ์‹  ํŒจํ‚ค์ง€ ์ž˜ ์‚ฌ์šฉํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค

๋‹ต๊ธ€ ๋‹ฌ๊ธฐ