A tool for creating fantasy campaign settings, including maps, regions, flags, cities, NPCs, businesses, legends, lore and more.
Set Up The Dev Environment
- make sure you have python 2.7
- make sure you have python's virtualenv installed
- set up Redis or (have access to one, like redistogo).
On the first run, do the following:
git clone https://github.com/CityGenerator/Megacosm-Generator.git # create a virtual env virtualenv env # activate the env source env/bin/activate # install the requirements pip install -r requirements.txt # copy the example config into place and configure it cp config.py.example config.py # Load your data python reimport_data.py # start the server python run.py # View the app in your browser at http://127.0.0.1:8000/
After that, you just need to use this:
source env/bin/activate python run.py
To try your unit tests, run