Skip to content

hanilcome/Realby_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

97e0a6e · Jul 10, 2023
Jul 10, 2023
Jul 5, 2023
Jul 9, 2023
Jul 5, 2023
Jul 5, 2023
Jul 10, 2023
Jun 12, 2023
Jun 7, 2023
Jul 5, 2023
Jul 9, 2023
Jul 9, 2023
Jul 3, 2023

Repository files navigation

RealBy

Frontend

Backend

Item of the Day

Start Routine

가상환경 재구성

poetry shell

window기준

source .venv/scripts/activate

mac은 해당 path를 찾아주어 적용하면 됨

poetry env info --path

종속패키지 설치

requirements사용시

pip install -r requirements.txt

poetry 사용시

poetry update package

poetry install

requirements에서 poetry로 이동시

cat requirements.txt | grep -E '^[^# ]' | cut -d= -f1 | xargs -n 1 poetry add

poetry에서 requirements로 이동시

poetry export -f requirements.txt --output requirements.txt

시크릿키 발급

py -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'

https://djecrety.ir/

touch secrets.json

{
  "SECRET_KEY": "해당 키",
}

db.sqlite3에 migrate

py manage.py migrate

이슈체크

py manage.py check

관리자 계정생성 및 서버테스트

py manage.py createsuperuser

py manage.py runserver

Project Purpose

사용자가 자신의 관심사나 주제에 대해 다양한 토픽의 글을 작성 및 게시하고, 블로거와 유저 간 소통을 극대화한 범용적인 블로그 플랫폼.

Usage Language & FrameWork

Backend - Python, Django Rest Framework

Frontend - next.js

Usage Management Method

requirements.txt

poetry

json

Usage Package

python = "^3.11"
django = "^4.2"
djangorestframework = "^3.14.0"
django-cors-headers = "^3.14.0"
pillow = "^9.5.0"
django-nextjs = "^2.2.2"
djangorestframework-simplejwt = "^5.2.2"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages