lowd
所属分类:论坛
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2022-03-21 04:02:43
上 传 者:
sh-1993
说明: 与Django一起娱乐BBS游戏“红龙传奇”
(Recreation of the BBS game "Legend of the Red Dragon" with Django)
文件列表:
db.sqlite3 (212992, 2022-03-20)
lowd/ (0, 2022-03-20)
lowd/__init__.py (0, 2022-03-20)
lowd/asgi.py (385, 2022-03-20)
lowd/settings.py (3342, 2022-03-20)
lowd/urls.py (1644, 2022-03-20)
lowd/wsgi.py (385, 2022-03-20)
lowdbank/ (0, 2022-03-20)
lowdbank/__init__.py (0, 2022-03-20)
lowdbank/admin.py (63, 2022-03-20)
lowdbank/apps.py (148, 2022-03-20)
lowdbank/models.py (29, 2022-03-20)
lowdbank/templates/ (0, 2022-03-20)
lowdbank/templates/bank.html (931, 2022-03-20)
lowdbank/tests.py (60, 2022-03-20)
lowdbank/urls.py (286, 2022-03-20)
lowdbank/views.py (1274, 2022-03-20)
lowdcore/ (0, 2022-03-20)
lowdcore/__init__.py (0, 2022-03-20)
lowdcore/admin.py (63, 2022-03-20)
lowdcore/apps.py (148, 2022-03-20)
lowdcore/models.py (57, 2022-03-20)
lowdcore/templates/ (0, 2022-03-20)
lowdcore/templates/_message_display.html (254, 2022-03-20)
lowdcore/templates/_stats.html (1109, 2022-03-20)
lowdcore/templates/base.html (1504, 2022-03-20)
lowdcore/templates/fight.html (567, 2022-03-20)
lowdcore/templates/forest.html (413, 2022-03-20)
lowdcore/templates/game_location.html (430, 2022-03-20)
lowdcore/templates/home.html (447, 2022-03-20)
lowdcore/templates/login.html (0, 2022-03-20)
lowdcore/templates/new_player.html (670, 2022-03-20)
lowdcore/templates/registration/ (0, 2022-03-20)
lowdcore/templates/registration/login.html (199, 2022-03-20)
lowdcore/templates/town_square.html (516, 2022-03-20)
lowdcore/templates/weapon_shop.html (1127, 2022-03-20)
lowdcore/tests.py (60, 2022-03-20)
lowdcore/views.py (4948, 2022-03-20)
... ...
# Legend of the White Dragon
Recreation of the BBS game "Legend of the Red Dragon" with Django
(currently in very early initial development stage)
## Installation
### Download source
```git clone https://github.com/hal0zer0/lowd.git```
### Install Requirements
```pip install -r requirements.txt```
### Setup & Secrets file
Create a ```lowd_secrets.py``` file with a ```settings_secret_key=```containing a long random string LIKE
```python
settings_secret_key='skG7f#8kgjdGD(wON29&3baWeCanDanceIfWeWantTo'
```
This is used for background security stuff and should NOT be added to Git
TEMPORARILY I am including a sqlite db to make initial setup easier for contributors. Eventually the db will be removed from source control and I will provide fixtures for the data to be imported.
```commandline
python ./managepy makemigrations
python ./manage.py migrate
```
## Running
From within directory containing manage.py
```python manage.py runserver```
Which should give you web access at localhost:8000
Login is required for all views user:admin pw:roadhouse
Again, this is temporary.
### State of game
It's currently set to create a new character on EVERY login, but that's simply because I want that for now.
To KEEP your character, just uncheck the "New" box from within /admin User page
近期下载者:
相关文件:
收藏者: