CityGenerator / Megacosm-Generator

A tool for creating fantasy campaign settings, including maps, regions, flags, cities, NPCs, businesses, legends, lore and more.
GNU General Public License v2.0
69 stars 30 forks source link

Coverage Status Bitdeli Badge

Megacosm-Generator

A tool for creating fantasy campaign settings, including maps, regions, flags, cities, NPCs, businesses, legends, lore and more.

Set Up The Dev Environment

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

    nosetests