hackspace/mhackspace
brett de4f11878b Merge from upstream/master 2017-10-04 17:55:34 +01:00
..
base Handle members group not existing, change update loop it no longer needs to return 2017-10-03 13:49:18 +01:00
blog Initial version of home page rss.xml feed 2017-06-01 20:30:40 +01:00
contact celery integration 2017-08-15 07:26:06 +01:00
contrib Moved all files up one folder 2017-01-04 18:11:25 +00:00
core/templatetags implemented django wiki, created requests page, and added to nav 2017-09-05 20:07:48 +01:00
feeds Cleanup, and better handling in the cancellation flow more work to come 2017-10-01 23:16:32 +01:00
members celery integration 2017-08-15 07:26:06 +01:00
register Temp commit for register feature 2017-10-04 17:31:16 +01:00
requests Merge from upstream/master 2017-10-04 17:55:34 +01:00
rfid Better users generated in test data. 2017-09-15 14:05:22 +01:00
static Change X-Frame options, and apply styling tweak to wiki preview 2017-09-16 08:55:58 +01:00
subscriptions Handle members group not existing, change update loop it no longer needs to return 2017-10-03 13:49:18 +01:00
templates Merge from upstream/master 2017-10-04 17:55:34 +01:00
users Handle members group not existing, change update loop it no longer needs to return 2017-10-03 13:49:18 +01:00
.coveragerc Initial commit, default project created with cookiecutter for django 1.10 and python 3 2017-01-04 09:22:12 +00:00
.dockerignore Initial commit, default project created with cookiecutter for django 1.10 and python 3 2017-01-04 09:22:12 +00:00
.editorconfig Initial commit, default project created with cookiecutter for django 1.10 and python 3 2017-01-04 09:22:12 +00:00
.gitattributes Initial commit, default project created with cookiecutter for django 1.10 and python 3 2017-01-04 09:22:12 +00:00
.gitignore Initial commit, default project created with cookiecutter for django 1.10 and python 3 2017-01-04 09:22:12 +00:00
.pylintrc Initial commit, default project created with cookiecutter for django 1.10 and python 3 2017-01-04 09:22:12 +00:00
.travis.yml Initial commit, default project created with cookiecutter for django 1.10 and python 3 2017-01-04 09:22:12 +00:00
README.org Added in feeds django app, can be manged in the admin backend 2017-01-05 18:43:32 +00:00
__init__.py Added init file to app root 2017-02-14 21:52:11 +00:00
celeryapp.py celery integration tasks now working, improved feed image variation rendering 2017-08-22 22:47:44 +01:00

README.org

Maidstone hackspace website

Repository for the maidstone hackspace website

Requirements

Before getting started make sure you have compose and docker and git installed on your machine The simplest way to setup this site is to use docker-compose so please install that from this site https://docs.docker.com/engine/installation/ and make sure the quick start guide works https://docs.docker.com/machine/get-started/ then you can use the commands below to test and make changes.

Setup

To get started checkout the project to your machine.

git clone https://github.com/olymk2/maidstone-hackspace.git

Once checked out build your containers locally if needed, only needed when you first start or if requirements change.

docker-compose -fdev.yml build

Startup your new containers containing a database and django

docker-compose -fdev up

Test django is serving pages http://127.0.0.1:8180

Run migrations and setup admin user to run django command just prefix them with docker-compose -f dev.yml run django

docker-compose -f dev.yml run django python manage.py makemigrations
docker-compose -f dev.yml run django python manage.py migrate
docker-compose -f dev.yml run django python manage.py createsuperuser