Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jbradberry/django-starsweb
A hosting app for the classic 4X space strategy game Stars!
https://github.com/jbradberry/django-starsweb
Last synced: 11 days ago
JSON representation
A hosting app for the classic 4X space strategy game Stars!
- Host: GitHub
- URL: https://github.com/jbradberry/django-starsweb
- Owner: jbradberry
- License: mit
- Created: 2011-09-22T00:36:26.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2020-03-27T01:55:13.000Z (over 4 years ago)
- Last Synced: 2024-06-12T18:27:27.565Z (5 months ago)
- Language: Python
- Homepage:
- Size: 235 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
===============
django-starsweb
===============.. image:: https://travis-ci.com/jbradberry/django-starsweb.svg?branch=master
:target: https://travis-ci.com/jbradberry/django-starswebA hosting app for the classic 4X space strategy game Stars_.
.. _Stars: http://en.wikipedia.org/wiki/Stars!
Requirements
------------
- Python 2.7, 3.5+
- Django >= 1.10, < 2.3
- django-sendfile2_
- django-template-utils_
- lxml
- starslib.. _django-sendfile2: https://github.com/moggers87/django-sendfile2
.. _django-template-utils: https://bitbucket.org/ubernostrum/django-template-utilsRecommended
-----------
- django-micro-pressInstallation
------------Use pip to install django-starsweb from github
::pip install git+https://github.com/jbradberry/django-starsweb.git
Configuration
-------------Add Starsweb to the ``INSTALLED_APPS`` in your settings file.
::INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',# Added.
'starsweb',
)Also, be sure to include ``starsweb.urls`` in your root urlconf.
Example::
from django.conf.urls import include, url
urlpatterns = [
url(r'^', include('starsweb.urls')),
url(r'^admin/', include('admin.site.urls')),
url(r'^accounts/', include('django.contrib.auth.urls'),
]