Website to upload, comment and download replays from/for the SpringRTS engine
Python JavaScript HTML CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
infolog_upload @ 082941b
lobbyauth
srs
.gitignore
.gitmodules
.project
.pydevproject
LICENSE
README.replay-upload
README.rst
eztables-GET.patch
manage.py
requirements.txt

README.rst

Spring Replay Site

Website to upload, download, search and comment replays created by games running on the SpringRTS engine (http://springrts.com).

Runs on Django / Python (https://www.djangoproject.com/).

Development is done using Django 1.6 and Python 2.7. It may or may not run with other versions. Latest source code can be found on Github.

License

This software is licensed as GPLv3, see COPYING. jQuery, Bootstrap, Respond.js, Moment.js and bootstrap-daterangepicker are released under the terms of the MIT license. html5shiv is dual licensed under the MIT or GPL Version 2 licenses. selectize.js is licensed under the Apache License, Version 2.0. Images under srs/static/img may have different copyright, some of which are not free in any way. To lazy to list all, do absolutely ask before using any of them!

Website

The live site can be found at http://replays.springrts.com/ , a test site can be found at http://replays-test.springrts.com/ Associated forum thread on the SpringRTS developers forum: http://springrts.com/phpbb/viewtopic.php?f=71&t=28019

Dependencies

(regarding python: make a virtenv and use requirements.txt)

Installation

$ sudo aptitude install libzmq-dev libfreetype6-dev
$ virtualenv srs
$ . srs/bin/activate
(srs) $ pip install -r requirements.txt
(srs) $ pip install git+git://github.com/dansan/django-eztables.git
(srs) $ pip install git+git://github.com/dansan/django-utils.git
(srs) $ pip install git+git://github.com/veeloinc/django.js.git
  • patch srs/lib/python2.7/site-packages/eztables/views.py using eztables-GET.patch.
(srs) $ cd srs
(srs) $ patch -p0  < .../eztables-GET.patch
  • create database in xxSQL
  • copy local_settings_.py to local_settings.py, and overwrite default settings there (at least DATABASES and ADMINS).
  • install database schemas and static files:
(srs) $ ./manage.py syncdb
(srs) $ ./manage.py migrate
  • go to the /admin/ page and create a Lobbyauth->User_profile for your admin user