Giter Club home page Giter Club logo

univshare's Introduction

Django Setup 문서

Get Started

가상환경 세팅

virtualenv venv

명령어를 활용하여 가상환경을 만들어 줍니다.

source venv/bin/activate

명령어를 활용하여 가상환경을 활성화 시켜줍니다.

위의 과정은 pycharm IDE를 활용하여 GUI로 해결해도 됩니다.

의존성 패키지 설치

pip install -r requirements.txt

동봉되어있는 requirements.txt를 활용하여 의존성 패키지를 설치하여 줍니다.

pip install openapi

OpenAPI와 관련된 라이브러리를 설치하여 줍니다.

데이터베이스 초기화

python manage.py makemigrations
python manage.py migrate

위 명령어를 활용하여 데이터 베이스를 초기화해 줍니다. makemigrations 명령어를 실행시키면 각 앱별로 데이터베이스 마이그레이션 파일들이 생성되니 git을 활용할때, 이때 만들어지는 마이그레이션 파일들도 푸시해 줍니다.

앱별 역할

accounts 앱

accounts 앱은 유저 관리 즉, 로그인, 회원가입 등에 대해서 다루는 앱 입니다.

chat 앱

chat 앱은 채팅 관련 즉, 채팅방 생성, 채팅메시지 발송 등에 대해서 다루는 앱 입니다.

univshare's People

Contributors

250b avatar rktlskan021 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.