Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

letsmeet-click/letsmeet.click

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e9332fd · Oct 11, 2018
Oct 1, 2018
Dec 29, 2015
Dec 27, 2015
Jan 6, 2016
Aug 22, 2017
Dec 29, 2015
Jun 28, 2017
Jun 28, 2017
Mar 20, 2016
Mar 6, 2018
Oct 30, 2016
Jun 16, 2017
Dec 28, 2015
Oct 11, 2018
Oct 30, 2016
Dec 2, 2017
Jan 31, 2016

Repository files navigation

letsmeet.click

If you have a feature request please read CONTRIBUTING.md

This is most of the source-code you can find deployed on letsmeet.click except for the theme and obviously our production settings 😉

Build Status

Code Issues

Timeframe

We developed the first version of letsmeet.click at #32c3 in Hamburg. The plan for future features is here: https://github.com/letsmeet-click/meta/blob/master/plan.md

Development setup

letsmeet.click is a rather complex system esp. thanks to requiring PostGIS. To make development easier it is highly recommended to use Docker in combination with Docker-Compose to get up and running in finite amount of time:

docker-compose build
docker-compose run --rm web reset_db
docker-compose run --rm web migrate
docker-compose run --rm web createsuperuser
docker-compose up -d

Then head here to test your installation.

Use docker-compose logs for your debugging needs.

Testing

In order to make the test setup easier, you can also execute them within the Docker container:

docker-compose exec web tox

Production setup

Mostly for us so that we don't forget 😊

Starting/creating docker instances

# database
docker run -d --restart=always -v /var/lib/postgres --name letsmeet-db mdillon/postgis:9.4

# home
docker run -d --name letsmeet-data aexea/aexea-base

# main image
docker build --tag=letsmeet-prod .
# reset database on first run
docker run --rm -ti --volumes-from letsmeet-data -v `pwd`/letsmeet/letsmeet/settings/production.py:/opt/code/letsmeet/letsmeet/settings/production.py --link letsmeet-db:db -e DJANGO_SETTINGS_MODULE=letsmeet.settings.production --entrypoint python3 letsmeet-prod manage.py reset_db
docker run --rm -ti --volumes-from letsmeet-data -v `pwd`/letsmeet/letsmeet/settings/production.py:/opt/code/letsmeet/letsmeet/settings/production.py --link letsmeet-db:db -e DJANGO_SETTINGS_MODULE=letsmeet.settings.production --entrypoint python3 letsmeet-prod manage.py migrate
docker run --rm -ti --volumes-from letsmeet-data -v `pwd`/letsmeet/letsmeet/settings/production.py:/opt/code/letsmeet/letsmeet/settings/production.py --link letsmeet-db:db -e DJANGO_SETTINGS_MODULE=letsmeet.settings.production --entrypoint python3 letsmeet-prod manage.py createsuperuser

# rebuild, update
./update.sh