Files
KintoneAppBuilder/backend/readme.md

32 lines
636 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 1: Pythonインストール
https://www.python.org/downloads/
### 2. venv設定
```
#仮想環境を設定する
python -m venv env
#仮想環境をアクティベート
.\env\Scripts\activate
```
### 4FastAPIとUvicornのインストール
仮想環境にFastAPIとUvicornASGIサーバーをインストールします。
1. fastapi
```bash
pip install fastapi
```
2. Uvicornをインストールします
```bash
pip install uvicorn
```
3. すべて依頼をインストール
```bash
pip install -r requirements.txt
```
4. backend 起動
```bash
uvicorn app.main:app --reload
```