mirror of
https://github.com/j93es/oauth-backend.git
synced 2026-06-04 05:41:52 +09:00
README.md
This commit is contained in:
parent
9071ed11b7
commit
c511b3bfd7
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
|
@ -1,5 +1,7 @@
|
||||||
# 환경 설정
|
# 환경 설정
|
||||||
|
|
||||||
|
## Python Virtual Environment
|
||||||
|
|
||||||
이 프로젝트는 [uv](https://docs.astral.sh/uv/getting-started/installation/)라는 Python 패키지 관리자를 사용하여 설정해야합니다.
|
이 프로젝트는 [uv](https://docs.astral.sh/uv/getting-started/installation/)라는 Python 패키지 관리자를 사용하여 설정해야합니다.
|
||||||
|
|
||||||
uv 설치 후 다음과 같은 명령어를 입력합니다.
|
uv 설치 후 다음과 같은 명령어를 입력합니다.
|
||||||
|
|
@ -8,8 +10,16 @@ uv 설치 후 다음과 같은 명령어를 입력합니다.
|
||||||
uv sync
|
uv sync
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Environment
|
||||||
|
|
||||||
venv와 패키지가 설치가 됩니다.
|
venv와 패키지가 설치가 됩니다.
|
||||||
|
|
||||||
|
.env.example을 복사하여 .env를 붙여넣습니다.
|
||||||
|
|
||||||
|
`GOOGLE_ID=`에 봇에서 쓸 구글 계정의 전체 GMail을 기입합니다.
|
||||||
|
|
||||||
|
입력하지 않는다면 Google OAuth시 자동적으로 넘어가지 않을 수도 있습니다.
|
||||||
|
|
||||||
# 실행 방법
|
# 실행 방법
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -17,6 +27,7 @@ uv run main.py
|
||||||
```
|
```
|
||||||
|
|
||||||
이러면 http(s)://localhost:11080로 서버가 열리게 됩니다.
|
이러면 http(s)://localhost:11080로 서버가 열리게 됩니다.
|
||||||
|
http://localhost:11081로 백엔드 서버가 열리게 됩니다.
|
||||||
|
|
||||||
# 기여 방법
|
# 기여 방법
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue