Skip to content

honeyuheony/DiceLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎲DICE LAB - HomePage

2021-08-04 ~ 2022-01-29

DICELAB Introduce Page

한국기술교육대학교 컴퓨터공학부의 DICELAB의 연구 및 활동 현황을 소개하는 페이지입니다. 연구원들의 활동이 담긴 Notion DB 데이터를 신속하게 전달하기 위해 Notion DB 데이터를 Web Server와 주기적으로 동기화하는 비동기 큐 작업을 구현하여 최신연구동향을 1시간마다 갱신해 제공할 수 있도록 개발했습니다.

✋ Collaborator

🖥 Project Example

⚙️ Development Environment

📚 Tech Stack

   
         
       
     

Part Version
Front-End Django Templates + Bootstrap
Back-End Back : Python 3.8.5 + Django 3.0 + Redis
Database Sqlite3
Notion API Version : 2021-08-16
Distribution AWS-LightSail

📖 Manual

Django Web Server

  1. Git Clone

    git clone https://github.com/Woo-Yeol/DiceLab.git

  2. 가상 환경 생성 및 종속 세팅

    python -m venv [가상환경 명]

    window : 

    source [가상환경 명]/Scripts/activate 

    mac : 

    source [가상환경 명]/bin/activate

    pip install -r requirements.txt

  3. Migration

    python manage.py createsuperuser "username"

    python manage.py makemigrations

    python manage.py migrate

    python manage.py runserver

Celery setting (with redis)

  1. Run redis

    redis-server

  2. Run Celery-Beat

    Start new Terminal and Set venv

    python -m venv [가상환경 명] window : 

    celery -A [Project Name] -l info -B gevent

    mac : 

    celery -A [Project Name] worker -l info -B

💡 1시간 간격으로 Notion DB와 Django server가 동기화 됩니다.

About

DiceLab Introduce page

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •