Torrie Fischer 61c39dc9c2 wip?
2023-06-10 13:21:31 +02:00
2023-06-10 13:21:31 +02:00
2012-10-22 12:37:48 -04:00
2023-06-10 13:21:31 +02:00
2023-06-10 13:21:31 +02:00
2023-06-10 13:21:31 +02:00
2023-06-10 13:21:31 +02:00
2023-06-10 13:21:31 +02:00
2023-06-10 13:21:31 +02:00
2023-06-10 13:21:31 +02:00
2023-06-10 13:21:31 +02:00
2012-02-17 15:36:35 -05:00
2012-06-09 22:24:18 -04:00
2023-06-10 13:21:31 +02:00
2012-04-12 16:39:02 -04:00
2012-09-11 16:11:35 -04:00
2012-04-16 17:46:48 -04:00
2012-02-17 15:36:35 -05:00
2012-10-23 15:47:20 -04:00
2023-06-10 13:21:31 +02:00
2023-06-10 13:21:31 +02:00
2012-11-17 16:09:29 -05:00

Caminus

This is the source code for the minecraft community Caminus.

http://camin.us

Installation

Caminus is designed to keep sensitive database credentials and whatnot out of settings.py. To accomplish this, you'll need to create a local_settings.py in the same directory as settings.py. Override anything you see fit.

For example:

TEMPLATE_DIRS = (
    "/usr/share/caminus/templates/"
)

STATCFILES_DIRS = (
    "/usr/share/caminus/static/"
)

Next, install the database:

$ ./manage.py syncdb --migrate --noinput

Then, create a superuser account:

$ ./manage.py createsuperuser

If you're using beanstalkd for webchat and server events, start it up:

$ beanstalkd

Updating

./manage.py syncdb --migrate

Dependencies

Check out the pip-requirements file. You can install them with:

# pip install -r pip-requirements

beanstalkd is a soft dependency. It provides webchat and server event processing.

Tools

There are a couple of tools that come with caminus.

Event Stats

$ ./manage.py event_stats

This prints out various statistics about the beanstalkd event queues.

Flush Events

$ ./manage.py flush_events

This flushes out all the beanstalkd event queues. All of them, not just caminus ones. Forever. It can break things and cause lost data if you aren't careful and know exactly why you need to flush the queue.

Server Broadcast

$ ./manage.py server_broadcast "Your Message"

Sends a universe-wide broadcast that shows up in all servers and active webchats.

Description
No description provided
Readme 858 KiB
Languages
Python 78.7%
HTML 9.8%
CSS 9.1%
JavaScript 2.3%