项目
在 GitHub 查看
abrenaut/posio
关于
使用 WebSocket 的多人地理游戏
游戏与模拟器实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +3
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Posio
A multiplayer geography game built using:
- Django (GeoDjango) and the Django Channels library
- HTMX
- Leaflet
Visit https://posio.abrenaut.com/ for a live demo.

Quick start
With Docker
- Initialize the database
docker-compose run web manage.py migrate
docker-compose run web manage.py createcitiesgame
docker-compose run web manage.py createflagsgame
- Start the application
docker-compose up
- Open the following URL in your web browser: http://127.0.0.1:8000
Without Docker
- Follow the GeoDjango documentation to install the application dependencies in your environment using Spatialite as the Spatial Database
- Install Redis
- Create a virtual environment and install the Python dependencies (tested with Python 3.12)
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
- Initialize the database
mkdir -p db
./manage.py migrate
./manage.py createcitiesgame
./manage.py createflagsgame
- Start the application
./manage.py runserver
- Open the following URL in your web browser: http://127.0.0.1:8000
License
This project is under MIT license.
More screenshots

探索相关项目
加载中…