hackspace/mhackspace
Oliver Marks 899fe700b8 Use horizontal. 2019-05-01 19:54:50 +01:00
..
base Handle missing image in sites blog. 2019-02-16 14:33:31 +00:00
blog Handle missing image in sites blog. 2019-02-16 14:33:31 +00:00
contact Update feed parser to us different library 2018-09-18 20:31:49 +01:00
contrib Moved all files up one folder 2017-01-04 18:11:25 +00:00
core Fix up tests. 2019-01-14 22:03:56 +00:00
feeds Use updated instead of published date 2019-01-07 19:22:21 +00:00
ldapsync Ldap server integration 2018-05-02 13:57:08 +01:00
members celery integration 2017-08-15 07:26:06 +01:00
register Django 2 2018-09-08 10:15:22 +01:00
requests update libraries 2018-09-11 14:07:07 +01:00
rfid Use horizontal. 2019-05-01 19:54:50 +01:00
static Allowed you to access blog posts which are not active 2018-10-17 19:38:27 +01:00
subscriptions Fix up tests. 2019-01-14 22:03:56 +00:00
templates instagram link 2019-02-26 19:33:06 +00:00
users Fix up tests. 2019-01-14 22:03:56 +00:00
wiki Add open graph data to the wiki and other pages 2018-09-15 09:47:59 +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 Ldap server integration 2018-05-02 13:57:08 +01: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
ldap.org Ldap server integration 2018-05-02 13:57:08 +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