GithubHelp home page GithubHelp logo

connect-foundation / 2019-14 Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 4.0 1.18 MB

๐Ÿ“’ ๋งˆํฌ๋‹ค์šด ๋ฌธ์„œ์†์—์„œ ํ„ฐ๋ฏธ๋„์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค!

Home Page: https://boostwriter.stenrine.com

JavaScript 100.00%

2019-14's People

Contributors

connectfoundation avatar dimsssss avatar drizzlingcattus avatar rbjh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

2019-14's Issues

[Docker] ์ด๋ฏธ์ง€ ๋ ˆ์ด์–ด๋ฅผ ์ƒ์„ฑํ•œ๋‹ค

- [ ] ์—ฌ๋Ÿฌ private ์ด๋ฏธ์ง€๋“ค์„ ์ด์šฉํ•˜์—ฌ multi-state ๋นŒ๋“œ๋ฅผ ์ˆ˜ํ–‰ํ•˜๋Š” Dockerfile(or yml config file)์„ ์ƒ์„ฑํ•œ๋‹ค.

  • ์ƒ์„ฑํ•œ Dockerfile(or yml config file)์„ ์ด์šฉํ•˜์—ฌ Container๋ฅผ ์ƒ์„ฑํ•œ๋‹ค.
  • Image๋ฅผ ํ†ตํ•œ ์ด๋ฏธ์ง€ ๋ ˆ์ด์–ด ๊ตฌ์„ฑ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๊ธฐ ์ „์— fallback์„ ๋ชฉ์ ์œผ๋กœ ๋Œ€์•ˆ์„ ์ œ๊ณตํ•œ๋‹ค
    • dockerode์˜ createContainer๋ฅผ ํ†ตํ•œ ์ธํ„ฐํŽ˜์ด์Šค ์ œ๊ณต

[์—๋””ํ„ฐ ํ—ค๋”] ์—๋””ํ„ฐ ํ—ค๋”๋ฅผ ํ‘œ์‹œํ•œ๋‹ค

  • ์„ผํ„ฐ์— ๋ฌธ์„œ๋ช…์„ ํ‘œ์‹œํ•œ๋‹ค.
  • ๋กœ๊ณ ๋ฅผ ํ‘œ์‹œํ•  ์ˆ˜ ์žˆ๋‹ค.
  • ์„œ๋น„์Šค๋ช…์„ ํ‘œ์‹œํ•  ์ˆ˜ ์žˆ๋‹ค.
    • ๋กœ๊ณ ์— ์„œ๋น„์Šค๋ช…์ด ํฌํ•จ๋˜์–ด ์ œ์™ธ

์—๋””ํ„ฐ ํ—ค๋” ํƒ€์ดํ‹€

  • ํ—ค๋”์˜ 60%๋ฅผ ์ฐจ์ง€ํ•œ๋‹ค.

ํ„ฐ๋ฏธ๋„ ์•„์ด์ฝ˜

  • ํ„ฐ๋ฏธ๋„ ํ™˜๊ฒฝ์„ค์ • ์•„์ด์ฝ˜๋“ค์„ ํ‘œ์‹œํ•  ์ˆ˜ ์žˆ๋‹ค.
  • ์šฐ์„ ์ˆœ์œ„(ํ•„์ˆ˜ / ์˜ต์…˜) ์ˆœ์„œ๊ฐ€ ๋†’์„ ์ˆ˜๋ก ์˜ค๋ฅธ์ชฝ์œผ๋กœ ์ถœ๋ ฅ๋œ๋‹ค.

์˜ค๋ฅ˜ ์ƒํ™ฉ

  1. Title์ด ๋„ˆ๋ฌด ๊ธธ์–ด์ง€๋Š” ๊ฒฝ์šฐ
  • ํ•ด๋”๊ฐ€ ๊ฐ€๋กœ๋กœ ๊ธธ์–ด์ ธ์„œ ๋ณด๊ธฐ ์‹ซ์–ด์ง„๋‹ค.
    -> ์–ด๋–ป๊ฒŒ ์ฒ˜๋ฆฌํ• ๊นŒ?
    -> ์ตœ๋Œ€ 2์ค„๊นŒ์ง€๋งŒ ์ถœ๋ ฅํ•˜๋„๋ก ํ•œ๋‹ค.

[Server] ํ„ฐ๋ฏธ๋„ ๋ช…๋ น์–ด api๋ฅผ ์ œ๊ณตํ•œ๋‹ค

  • not-pending ๋ช…๋ น์–ด๋ฅผ ์œ„ํ•œ ๋ผ์šฐํ„ฐ ์ œ๊ณต
  • pending ๋ช…๋ น์–ด๋ฅผ ์œ„ํ•œ ๋ผ์šฐํ„ฐ ์ œ๊ณต
  • ๋ฐฑ๊ทธ๋ผ์šด๋“œ ์•„์›ƒํ’‹์„ ์ถœ๋ ฅํ•  ์ˆ˜ ์žˆ๋„๋ก ์ง€์†์ ์ธ ์—ฐ๊ฒฐ ์ œ๊ณต
    • ์˜ˆ) tail -f
  • ํ„ฐ๋ฏธ๋„ ๋ช…๋ น์‹œ not-pending์ธ์ง€ pending์ธ์ง€ ์„œ๋ฒ„์ธก์—์„œ ํŒ๋‹จํ•  ์ˆ˜ ์žˆ๋‹ค
  • cd ์ฒ˜๋Ÿผ context๋ฅผ ๋ณ€๊ฒฝํ•˜๋Š” ๋ช…๋ น์„ ์ฒ˜๋ฆฌํ•  ์ˆ˜ ์žˆ๋‹ค.

[Docker] Container์— ๋ช…๋ น์„ ์ „์†กํ•˜๊ณ , ๊ฒฐ๊ณผ๋ฅผ ์ถœ๋ ฅํ•œ๋‹ค

  • remote dockerd์—๊ฒŒ ์—ฐ๊ฒฐ์„ ์‹œ๋„ํ•  ์ˆ˜ ์žˆ๋‹ค.
  • remote container์—๊ฒŒ not-pendingํ•œ ์‰˜ ๋ช…๋ น์„ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ๋‹ค.
  • remote container์—๊ฒŒ not-pendingํ•œ ์‰˜ ๋ช…๋ น์˜ ๊ฒฐ๊ณผ๋ฅผ ๊ฐ€์ ธ์˜ฌ ์ˆ˜ ์žˆ๋‹ค.
  • remote container์—๊ฒŒ pendingํ•œ ์‰˜ ๋ช…๋ น์„ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ๋‹ค.
    • ๋Œ€์ƒ: cat + a (๋‹ค๋ฅธ ๋ช…๋ น์–ด๋Š” ํ…Œ์ŠคํŠธ๋ฅผ ํ†ตํ•ด์„œ ์–ธ๊ธ‰ํ•œ๋‹ค.)
  • remote container์—๊ฒŒ pendingํ•œ ์‰˜ ๋ช…๋ น ๊ฒฐ๊ณผ๋ฅผ ๊ฐ€์ ธ์˜ฌ ์ˆ˜ ์žˆ๋‹ค.
  • ๊ฒฐ๊ณผ ์ถœ๋ ฅ ๋ฐ์ดํ„ฐ๋ฅผ ๊น”๋”ํ•˜๊ฒŒ ๋ณด์—ฌ์ค„ ์ˆ˜ ์žˆ๋Š” stream api๋ฅผ ์ œ๊ณตํ•œ๋‹ค.
    • docker prefix๋ฅผ ์ œ๊ฑฐํ•œ๋‹ค.
    • trailing ๋ฌธ์ž์—ด ์ค‘ ์˜๋ฏธ์—†๋Š” ์ค„๋ฐ”๊ฟˆ๊ด€๋ จ๋œ ๋ฌธ์ž๋“ค์„ ์ œ๊ฑฐํ•œ๋‹ค.
    • ๊ฒฐ๊ณผ๊ฐ’์˜ ์ธ์ฝ”๋”ฉ์„ utf-8๋กœ ์ถœ๋ ฅํ•œ๋‹ค
    • stream์˜ end์ด๋ฒคํŠธ๋ฅผ ๊ธฐ์ค€์œผ๋กœ ๊ฒฐ๊ณผ ๋ฐ์ดํ„ฐ๋ฅผ ๊ตฌ์„ฑํ•œ๋‹ค.

[์—๋””ํ„ฐ] ๋งˆํฌ๋‹ค์šด ์—๋””ํ„ฐ์— ์ปดํฌ๋„ŒํŠธ๋ฅผ ์Œ“์•„๊ฐˆ ์ˆ˜ ์žˆ๋Š” ๊ตฌ์กฐ๋ฅผ ์ƒ์„ฑํ•œ๋‹ค

๋งˆํฌ๋‹ค์šด ์—๋””ํ„ฐ

  • ์—”ํ„ฐ๋ฅผ ๋ˆ„๋ฅด๋ฉด ๋ณ€ํ™˜ํ•  ์ˆ˜ ์žˆ๋Š” ๋‹ค์Œ ์…€์„ ์Œ“๋Š”๋‹ค. (line feeding)
  • ํ™”์‚ดํ‘œ ์œ„/์•„๋ž˜ ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด ํฌ์ปค์‹ฑ์ด๋œ ์…€ ๊ธฐ์ค€์œผ๋กœ ์œ„/์•„๋ž˜ ์…€๋กœ ๋„˜์–ด๊ฐ„๋‹ค.
  • ํ™”์‚ดํ‘œ ์œ„/์•„๋ž˜ ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด ์ปค์„œ ์œ„์น˜๊ฐ€ ์œ ์ง€๋œ ์ƒํƒœ๋กœ ์ด๋™ํ•œ๋‹ค.
    • ์œ„์น˜๊ฐ€ ์ถฉ๋ถ„ํžˆ ์œ ์ง€๋  ์ˆ˜ ์žˆ๋‹ค๋ฉด ๊ทธ๋Œ€๋กœ ์ด๋™ํ•จ
    • ์œ„์น˜๊ฐ€ ๋„˜์–ด๊ฐ€๊ธฐ์—๋Š” ๋ชจ์ž๋ผ๋‹ค๋ฉด ์ค„์˜ ๋์œผ๋กœ ์ด๋™ํ•จ
  • ์…€ ํด๋ฆญ์‹œ ํ•ด๋‹น ์…€๋กœ ํฌ์ปค์Šค/์ปค์„œ๊ฐ€ ์ด๋™ํ•œ๋‹ค.
    • (์˜ต์…˜) ๋งˆ์šฐ์Šค ์ปค์„œ๋ฅผ ๋ˆ„๋ฅธ ์œ„์น˜๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์ปค์„œ๊ฐ€ ์ด๋™ํ•œ๋‹ค.
  • default input ์…€์—์„œ ์•„๋ฌด ๋‚ด์šฉ์ด ์—†๋Š” ์ƒํƒœ์—์„œ ๋ฐฑ์ŠคํŽ˜์ด์Šค๋ฅผ ๋ˆ„๋ฅผ์‹œ ์…€์„ ์‚ญ์ œํ•œ๋‹ค. (๋ณ€ํ™˜๊ธฐ#67์™€ ๊ฐ™์ด ํ•ด์•ผํ•˜๋ฏ€๋กœ ๋‚˜์ค‘์—ํ• ๊ฒƒ)

[์—๋””ํ„ฐ] ul ํƒœ๊ทธ(- , * ) WYSIWYG ์ง€์›ํ•œ๋‹ค

  • list์˜ depth๋ฅผ ๋Š˜๋ฆด ์ˆ˜ ์žˆ๋‹ค.
    • ๋ฐ”๋กœ ์œ„์˜ list depth๋ฅผ ๊ธฐ์ค€์œผ๋กœ 1 ์ฆ๊ฐ€
    • (์˜ต์…˜) ๋‹จ์ถ•ํ‚ค ์„ค์ •( tab )
  • list์˜ depth ์ค„์ผ ์ˆ˜ ์žˆ๋‹ค.
    • ๋ฐ”๋กœ ์œ„์˜ list depth๋ฅผ ๊ธฐ์ค€์œผ๋กœ 1 ๊ฐ์†Œ
    • (์˜ต์…˜) ๋‹จ์ถ•ํ‚ค ์„ค์ • ( shift + tab )
  • place holder๋ฅผ ํ‘œ์‹œํ•œ๋‹ค.
    • list

[Docker] private registry๋ฅผ ์ƒ์„ฑํ•œ๋‹ค

  • OS(Ubuntu, CentOS ๋“ฑ)์˜ ์ด๋ฏธ์ง€๋ฅผ ๊ด€๋ฆฌํ•œ๋‹ค.
    • yum update๊ฐ™์€ ๊ธฐ๋ณธ ๋™์ž‘ ํ›„์˜ ์ด๋ฏธ์ง€๋ฅผ exportํ•œ๋‹ค.
    • latest ๋ฒ„์ „์œผ๋กœ ์ง€์†์ ์œผ๋กœ ์—…๋ฐ์ดํŠธ ํ•œ๋‹ค.
  • Node, Python, Mysql ๋“ฑ์˜ ์ด๋ฏธ์ง€๋ฅผ ๊ด€๋ฆฌํ•œ๋‹ค.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.