the best demoscene website in the world.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
api revise group-abbreviations API to include other variants and split by… Sep 8, 2018
comments Specify on_delete on all foreign keys. Apr 18, 2018
demoscene Tweak search bar styling Jul 16, 2018
demozoo
etc Remove Djapian \o/ Jul 16, 2018
forums Specify on_delete on all foreign keys. Apr 18, 2018
grunt Added bare-bones grunt task for svg icon building Nov 12, 2016
homepage Fixes #345. 'nuff said. May 29, 2018
lib Remove Djapian \o/ Jul 16, 2018
maintenance Fixes unwanted heading styles in markdown fields Jun 13, 2018
mirror Increase max length of external/download link URLs to 4096 Sep 7, 2017
pages Fix markdown list styles (#324) for editorial pages too Dec 14, 2017
parties set Party.share_screenshot to a raw_id_field in the admin Aug 10, 2018
platforms Implement platform aliases for search filters Jul 18, 2018
productions Move search_result_json into view; bulk fetch screenshots; remove Pro… Jul 16, 2018
sceneid Prevent deactivated users from being able to log in via SceneID Jul 8, 2017
sceneorg Specify on_delete on all foreign keys. Apr 18, 2018
screenshots default for ANSILOVE_C_PATH. grr Dec 14, 2016
search Implement platform aliases for search filters Jul 18, 2018
src/svg/icons Add nice-ish zoom icons Dec 12, 2016
users Remove the delete button from user admin Apr 18, 2018
zxdemo Specify on_delete on all foreign keys. Apr 18, 2018
.coveragerc Add test coverage reporting gunk Sep 21, 2016
.gitignore make unit tests work again Nov 13, 2017
Gruntfile.js Added bare-bones grunt task for svg icon building Nov 12, 2016
Makefile make unit tests work again Nov 13, 2017
README.md added 2 lines to clarify running manage.py on Windows host where mana… Sep 16, 2016
Vagrantfile Add Vagrant config Apr 21, 2016
fabfile.py Remove Djapian \o/ Jul 16, 2018
manage.py Don't map demozoo.settings to demozoo.settings.dev Apr 24, 2017
package.json Added bare-bones grunt task for svg icon building Nov 12, 2016
requirements-production.txt upgrade django-celery to 3.2.x Jan 1, 2018
requirements.txt upgrade django-celery to 3.2.x Jan 1, 2018
wsgi.py bring other wsgi config files up to date with current incantation Apr 24, 2017
wsgi_staging.py Invoke WSGI with the correct incantation (rather than one that was pr… Apr 24, 2017
wsgi_zxdemo.py bring other wsgi config files up to date with current incantation Apr 24, 2017
wsgi_zxdemo_staging.py Update zxdemo staging settings / wsgi config for Django 1.9 May 16, 2017

README.md

Demozoo

developer installation

The recommended way to set up a developer instance is through Vagrant. After installing Vagrant and VirtualBox, install as follows:

git clone https://github.com/demozoo/demozoo.git
cd demozoo
vagrant up

This will download an Ubuntu Trusty64 image, install dependencies, and fetch the latest public export of the Demozoo database. To start up the site:

vagrant ssh
# then within the Vagrant VM:
./manage.py runserver 0.0.0.0:8000

Alternatively you may need to run : python ./manage.py runserver 0.0.0.0:8000

The site will now be available at http://localhost:8000/.

Rebuilding indices for the database

If you want to work with the search feature, you have to rebuild your database indices first:

./manage.py index --rebuild --verbose

This will take a long time, but you only need to do it once.

Creating an admin user

All account passwords in the public database export are blanked, so you'll need to create a new account to log in. To create a superuser account:

./manage.py createsuperuser

and enter the account details when prompted.

Batteries not included

The procedure above gives you a basic working Demozoo installation, but several features are unavailable due to needing additional configuration:

  • file uploads (Amazon S3)
  • screenshot processing
  • background tasks (scene.org spidering, fetching screenshots from graphics releases...)

Instructions for these will be forthcoming, at least when someone asks for them :-)

Gasman matt@west.co.tt - https://twitter.com/gasmanic