hackspace/mhackspace
Sam Collins f8729a5453
Improved Chat page text and added Hangouts link
2017-02-15 18:06:27 +00:00
..
base use picture tag for banners, add in image size 2017-02-15 13:53:19 +00:00
contact Email should now send on stage 2017-02-05 17:04:08 +00:00
contrib Moved all files up one folder 2017-01-04 18:11:25 +00:00
feeds Reduced duplicate queries on Home Page and made Copyright year dynamic 2017-02-15 18:05:57 +00:00
members more work on payment gateway 2017-01-30 17:08:37 +00:00
static Implemented payment success and failure urls 2017-02-09 20:12:59 +00:00
subscriptions use picture tag for banners, add in image size 2017-02-15 13:53:19 +00:00
templates Improved Chat page text and added Hangouts link 2017-02-15 18:06:27 +00:00
users use picture tag for banners, add in image size 2017-02-15 13:53:19 +00: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

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