This repository contains data that is specific to the Shadowlack roleplaying game.
- Python 3.8
- virtualenv for making an isolated Python environment.
pip install virtualenv
- virtualenv for making an isolated Python environment.
- A database. SQLite3, MariaDB, or PostgreSQL, will work.
-
git clone --recurse-submodules https://github.com/shadowlack/shadowlack-server.git -
cd shadowlack-server -
virtualenv evenvYour working directory structure should look like this:
shadowlack-server/ evennia/ evenv/ shadowlack/ -
source evenv/bin/activate(Linux, Mac), orevenv\Scripts\activate(Windows, PS Shell, Git Bash) -
pip install -e evennia -
pip install -r requirements.txt -
cd shadowlack -
Copy
shadowlack/server/conf/.env.exampletoshadowlack/server/conf/.envand edit your database variables. -
evennia migrate -
evennia start
Must be run within the shadowlack directory.
evennia start
evennia reload
evennia stopRunning evennia start for the first time will prompt you to create a new super user account.
evennia makemigrations
evennia migrateevennia --settings settings.py test commands
evennia test --settings settings.pyAs a super user, run the following commands in the Web Client to seed content. This will seed both the Codex, as well as content flat pages.
batchcode seeder_codex
batchcode seeder_pagesThe content of this project (characters, species, locations, etc) itself is licensed under the Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license.
The underlying source code used to format and display that content is licensed under a BSD license.