GithubHelp home page GithubHelp logo

parkinhyo / pybo-docker Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 1.17 MB

simple django project consisting of docker containers

License: MIT License

Python 54.46% CSS 0.14% HTML 45.15% Dockerfile 0.24%
django django-application django-framework django-project docker docker-compose dockerfile docker-container github github-actions

pybo-docker's Introduction

Welcome to Pybo πŸ‘‹



❓ 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

pybo-docker's People

Contributors

parkinhyo avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.