self host planning poker
v1.2.1
無麻煩的計劃撲克申請在您的NAS上部署。
該應用程序旨在作為在線規劃撲克的簡化且可自主的替代方案。
它的特徵:
它沒有諸如問題管理,JIRA集成或計時器之類的精美功能。


部署應用程序很容易,因為它在一個容器中獨立。您需要的只是創建一個卷以堅持遊戲設置(ID,名稱和甲板)。
docker run
-v planning-poker-data:/data
-p 8000:8000
axeleroy/self-host-planning-poker:latest version : " 3 "
services :
planning-poker :
image : axeleroy/self-host-planning-poker:latest
ports :
- 8000:8000
volumes :
- planning-poker-data:/data
volumes :
planning-poker-data : {}| 多變的 | 意義 | 例子 |
|---|---|---|
APP_ROOT (可選) | 允許您部署到/以外的另一個路徑。有關更多詳細信息,請參見配置示例,以獲取子路徑。 | APP_ROOT=/poker/ |
請參閱Socket.io的文檔,以設置您的反向圖形以與Socket.io正確使用。
請參閱自定義應用程序的樣式和圖標。
歡迎您打開拉動請求解決項目中的問題或標記為PR-WELCOME。不要忘記提及要解決的問題
打開一個問題,我會看看。
有一個人群項目,可讓您為語言添加翻譯。如果您的語言不可用,請隨時通過Crowdin與我聯繫。
該應用程序由兩個部分組成:
您必須首先初始化虛擬環境並安裝依賴項
# Run the following commands in the flask/ folder
python3 -m venv env
source env/bin/activate
pip3 install -r requirements.txt然後啟動開發服務器就像以下內容一樣容易:
FLASK_DEBUG=1 python app.py初始化虛擬環境後,在flask/目錄中運行此命令:
python -m unittest注意:您可能需要針對後端測試前端。您可以按照上一節中的說明進行安裝並在本地運行,或者使用以下命令將其運行在Docker容器中:
docker run --rm -it -v $( pwd ) /flask:/app -p 5000:5000 python:3.11-slim bash -c " cd /app; pip install -r requirements.txt; FLASK_DEBUG=1 gunicorn --worker-class eventlet -w 1 app:app --bind 0.0.0.0:5000 "
首先確保安裝了Node.js(最好是LTS)。然後,安裝依賴項並啟動開發服務器
# Run the following commands in the angular/ folder
npm install
npm start # After checking out the project
docker build . -t axeleroy/self-host-planning-poker:custom
# Alternatively, if you don't want to checkout the project
docker build https://github.com/axeleroy/self-host-planning-poker -t axeleroy/self-host-planning-poker:custom