Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Code for the Flying Squirrel demo sites
JavaScript Python HTML ApacheConf CSS
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
channels
cursors
mud Merge heads
.hgignore
README.txt
channels.conf
crontab
fabfile.py
mud.conf
requirements.txt
run.py

README.txt

To run the stuff locally:

    virtualenv venv
    . venv/bin/activate
    pip install -r requirements.txt


To run mud:

    . venv/bin/activate
    cd mud
    ln -s settings_local_devel.py settings_local.py
    ./manage.py syncdb --noinput
    ./manage.py loaddata core/rooms.json
    ./manage.py createsuperuser --username=admin --email=a@b.co.uk
    ./manage.py runserver 0.0.0.0:8000

And on the second console:

    while [ 1 ]; do curl http://127.0.0.1:8000/tick; echo; sleep 10; done

In order to save data:

    ./manage.py dumpdata \
        --format=json \
        --indent=4 core > /tmp/rooms.json

To run the channels:

   . venv/bin/activate
   cd channels
   ln -s config_local.py config.py
   python site.py

Something went wrong with that request. Please try again.