/pybo-docker

simple django project consisting of docker containers

Primary LanguagePythonMIT LicenseMIT

Welcome to Pybo πŸ‘‹

English



❓ What is Pybo?

점프 투 μž₯κ³  책을 κ³΅λΆ€ν•˜κ³  λ§Œλ“  μž₯κ³  ν”„λ‘œμ νŠΈλ₯Ό μ»¨ν…Œμ΄λ„ˆ ν™˜κ²½μ— κ΅¬μΆ•ν•©λ‹ˆλ‹€. PyboλŠ” 책에 λ‚˜μ˜€λŠ” ν”„λ‘œμ νŠΈ μ΄λ¦„μž…λ‹ˆλ‹€. 이 μž₯κ³  ν”„λ‘œμ νŠΈλ₯Ό μ—…κ·Έλ ˆμ΄λ“œν•΄μ„œ μ‹€μ œλ‘œ μ±…μ˜ μ €μžκ°€ μ‚¬μ΄νŠΈλ₯Ό μš΄μ˜ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€. μ±…μ˜ 단원별 μ†ŒμŠ€ μ½”λ“œλŠ” 여기에 μžˆμŠ΅λ‹ˆλ‹€.


πŸ“œ How to

도컀와 λ„μ»€μ»΄ν¬μ¦ˆλ₯Ό μ„€μΉ˜ν•΄μ•Ό ν•©λ‹ˆλ‹€.

μ‹€ν–‰

$ docker-compose up -d
$ docker ps

ipμ£Όμ†Œ + 포트 80번으둜 접속

정지 및 μ‚­μ œ

$ docker-compose stop
$ docker-compose down

More..

# κ΄€λ¦¬μž 계정 생성
$ docker exec -it django-pybo /bin/bash
$ python manage.py createsuperuser
...
$ exit
# λ°μ΄ν„°λ² μ΄μŠ€ μ‚­μ œ
$ docker-compose down
$ sudo find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
$ sudo find . -path "*/migrations/*.pyc"  -delete
$ sudo rm -rf data/
$ docker-compose up -d
# 둜그
$ cat logs/mysite.log

πŸ“Œ Architecture

image


🚩 Features

  • νšŒμ› 둜그인 & λ‘œκ·Έμ•„μ›ƒ
  • 질문 및 λ‹΅λ³€ κ²Œμ‹œνŒ
  • 질문과 λ‹΅λ³€ 각각에 λŒ€ν•΄ comment
  • μ’‹μ•„μš” ν‘œμ‹œ
  • κ²Œμ‹œκΈ€ 검색 & μ •λ ¬
  • κΈ€ μž‘μ„±μ‹œμ— λ§ˆν¬λ‹€μš΄ 지원
  • κ΄€λ¦¬μž(/admin)

πŸ“ License

μž₯κ³  ν”„λ‘œμ νŠΈμ˜ μ €μž‘κΆŒμ€ μ±…μ˜ μ €μžμ—κ²Œ μžˆμŠ΅λ‹ˆλ‹€.
Copyright Β© 2021 IN HYO PARK.
This project is MIT licensed.


This README was generated with ❀️ by readme-md-generator