- pipenv shell: 啟動虛擬環境
- pipenv sync: 同步 package
- pipenv install -e .: 把 project 變成 package (主要是為了將 project 路徑新增到 pythonpath)
- python genenv.py
-
docker build : docker-compose -f docker-compose.yml build
up: docker-compose -f docker-compose.yml up -d
down: docker-compose -f docker-compose.yml down
docker url : http://127.0.0.1:9000/docs
-
non-docker
pipenv run uvicorn api.main:app --reload --host 0.0.0.0