inboard
๐ข Docker images and utilities to power your Python APIs and help you ship faster. With support for Uvicorn, Gunicorn, Starlette, and FastAPI.
ํ์ผ ํ์๊ธฐ
์ต์ข ๋ฒ์ ๋ค์ด๋ก๋ (.zip)- baseline.json
- ci.yml
- CODE_OF_CONDUCT.md
- PULL_REQUEST_TEMPLATE.md
- extensions.json
- launch.json
- settings.json
- favicon.png
- inboard-logo.svg
- authentication.md
- changelog.md
- contributing.md
- docker.md
- environment.md
- index.md
- logging.md
- __init__.py
- main_base.py
- main_fastapi.py
- main_starlette.py
- prestart.py
- utilities_fastapi.py
- utilities_starlette.py
- __init__.py
- gunicorn_conf.py
- gunicorn_workers.py
- logging_conf.py
- py.typed
- start.py
- types.py
- __init__.py
- test_main.py
- __init__.py
- conftest.py
- test_gunicorn_conf.py
- test_gunicorn_workers.py
- test_logging_conf.py
- test_start.py
- test_types.py
- .dockerignore
- .gitattributes
- .gitignore
- .prettierignore
- .prettierrc
- CHANGELOG.md
- CONTRIBUTING.md
- cspell.json
- Dockerfile
- LICENSE
- pyproject.toml
- README.md
- vercel.json
- zensical.toml
# ์ค์น ๊ฐ์ด๋
1. ์ฝ๋ ๋ด๋ ค๋ฐ๊ธฐ
git clone https://github.com/br3ndonland/inboard
๊นํ๋ธ์์ ํ๋ก์ ํธ ์ฝ๋ ์ ์ฒด๋ฅผ ๋ด ์ปดํจํฐ๋ก ๋ด๋ ค๋ฐ์ต๋๋ค.
cd inboard
๋ฐฉ๊ธ ๋ด๋ ค๋ฐ์ ํ๋ก์ ํธ ํด๋ ์์ผ๋ก ์ด๋ํฉ๋๋ค.
2. Docker
์ฌ์ ์ถ์ฒ์ฌ์ ์ค๋น๋ฌผ
- Git GitHub์์ ํ๋ก์ ํธ ์ฝ๋๋ฅผ ๋ด๋ ค๋ฐ์ผ๋ ค๋ฉด ํ์ํฉ๋๋ค.
- Docker Desktop ์ปจํ ์ด๋๋ฅผ ๋น๋ํ๊ณ ์คํํ๋ ค๋ฉด ํ์ํฉ๋๋ค. ์ค์น ํ ์คํํด์ ๋ฐฑ๊ทธ๋ผ์ด๋์ ์ผ๋์ธ์.
docker build -t inboard .
Dockerfile์ ๊ธฐ๋ฐ์ผ๋ก ์คํ ๊ฐ๋ฅํ ์ด๋ฏธ์ง๋ฅผ ๋น๋ํฉ๋๋ค.
docker run -p 8080:80 inboard
๋น๋๋ ์ด๋ฏธ์ง๋ฅผ ์ค์ ์ปจํ ์ด๋๋ก ์คํํฉ๋๋ค.
ํฐ๋ฏธ๋์ docker compose ps ๋ฅผ ์
๋ ฅํด ์ปจํ
์ด๋๋ค์ด Up ์ํ์ธ์ง ํ์ธํ์ธ์. README์ ํฌํธ ๋ฒํธ๊ฐ ์ ํ์๋ค๋ฉด ๋ธ๋ผ์ฐ์ ์์ http://localhost:ํฌํธ๋ฒํธ ๋ก ์ ์ํด๋ณด์ธ์.
3. Python
์ฌ์์ฌ์ ์ค๋น๋ฌผ
pip install .
PyPI์ ๋ฐฐํฌ๋ ํจํค์ง๋ฅผ ๋ฐ๋ก ์ค์นํฉ๋๋ค. ์์ค ํด๋ก ์ด ํ์ ์์ต๋๋ค.
python <์คํํ ํ์ผ๋ช
>.py # README์์ ์ ํํ ์คํ ํ์ผ๋ช
์ ํ์ธํ์ธ์
ํ์ด์ฌ ์คํฌ๋ฆฝํธ(๋๋ ๋ชจ๋)๋ฅผ ์คํํฉ๋๋ค.
์๋ฌ ๋ฉ์์ง ์์ด ์คํ๋๊ณ ํฐ๋ฏธ๋์ ์๋ด ๋ฌธ๊ตฌ๊ฐ ์ถ๋ ฅ๋๋ฉด ์ ์์
๋๋ค.
// repository documentation
Was this content helpful?
(0 ratings)
