Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

willkg/eugene

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About eugene

eugene is a really basic chat system I built to use with Artemis to act as a text-based comms system.

It's got two parts:

  1. backend is a really stripped down Flask-based web application that has a REST API that does some basic message and participant handling
  2. HTML5 frontend for "signing in", sending, receiving and handling messages

Setting it up

Pre-requirements:

It doesn't work with prior versions of Python. It also doesn't work with Python 3.

It requires a recent version of virtualenv, pip and virtualenv-wrapper. Those are all "standard" things in Python world now. So if you don't have them, now's the time to install them.

Quick start:

Either: 

    $ git clone https://github.com/willkg/eugene
    $ cd eugene

or:

    $ wget https://github.com/willkg/eugene/archive/master.zip
    $ unzip master.zip
    $ cd eugene-master

$ mkvritualenv eugene
$ pip install -r requirements.txt
$ cp eugene/settings_local.py-dist eugene/settings_local.py

edit eugene/settings_local.py with your favorite editor

$ python manage.py db_create

To run the server:

$ python manage.py runserver

To run on a specific host and port:

$ python manage.py runserver --host <HOST> --port <PORT>

That'll tell you the url for your browser. Open one browser tab for each ship.

Testing

Tests use nose.

To run tests:

$ nosetests

License

eugene is distributed under the MIT license. See LICENSE for details.

bootstrap is distributed under the Apache v2 license.

jquery is distributed under the MIT license.

About

comms system for Artemis simulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published