Giter Site home page Giter Site logo

django-blog's Introduction

django-blog

description

국민대학교 멋쟁이사자에서, 진행한 django 세션 실습 과제입니다. CRUD 관련 내용이며, 블로그 글 목록, 글 쓰기, 글 수정, 글 삭제 기능 등이 있습니다.

usage

  1. secrets.json 파일을 아래 형식대로 만든 뒤, Blog/ 안에 넣어주세요. SECRET_KEY 부분에 django secret key generator를 사용하여 키를 만들고 넣어주면 됩니다.
{
    "SECRET_KEY": "b_4(!id8ro!1645n@ub55555hbu93gaia0 SECRET_KEY"
}
  1. 패키지 설치
$ pip install -r requirements.txt
  1. db 설정 Blog/ 안에 있는 db.sqlite3 파일을 삭제해주시고 Blog/ 디렉토리에서 다음 명령어를 입력해주세요.
$ python manage.py makemigrations
$ python manage.py migrate
  1. start server 다음과 같이 서버를 열어주세요.
$ python manage.py runserver 0.0.0.0:80

포트 포워딩, DNS가 설정되어 있는 경우, 다음과 같이 웹사이트를 배포할 수 있습니다.

likelion.singun11.wtf

Example

Computer Screen

Mobile Screen

django-blog's People

Contributors

shinkeonkim avatar

Stargazers

 avatar

Watchers

 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.