letsmeet-click / letsmeet.click

core website of letsmeet.click

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

core website of letsmeet.click

License:MIT License


Languages

Language:Python 57.5%Language:HTML 39.0%Language:JavaScript 2.2%Language:Shell 0.6%Language:Dockerfile 0.4%Language:CSS 0.2%Language:Makefile 0.0%