Open Lobby Server
Open Lobby is register of lobby meetings. It's being developed for and tested on Czech Pirate Party but later it may be used by any party, organization, agency, ...
Open Lobby is in early beta version now. Not for production use.
Register is built on top of Elasticsearch. For now it's intended for search in Czech language with custom Czech text analyzer. There is prepared Elasticsearch Docker container with Czech support at openlobby/openlobby-es-czech.
Configuration is done by environment variables:
SECRET_KEY- long random secret string (required)
ELASTICSEARCH_DSN- DSN of Elasticsearch cluster (default:
SITE_NAME- site name for OpenID authentication (default:
ES_INDEX- Elasticsearch index (default:
Docker image is at Docker Hub
It exposes server on port 8010. You should provide it environment variables for
configuration (at least
Demo of Open Lobby with instructions is in repository openlobby/demo.
Local run and development
You need to have Python 3 installed. Clone this repository and run:
make init-env- prepares Python virtualenv in dir
source .env/bin/activate- activates virtualenv
make install- installs requirements and server in development mode
make run- runs development server on port
Now you can use GraphQL API endpoint and GraphiQL web interface at
Next time you can just do steps 2 and 4.
Development server assumes that you have
http://localhost:9200. You can override this address in environment
ELASTICSEARCH_DSN=http://my-server:9200 make run
Expects Elasticsearch for tests running on
localhost:9200 (can be override by
ELASTICSEARCH_DSN). Tests creates random indices with
test_ and deletes all indices matching
test_* on teardown.