# Open Lobby App
Web based application for Open Lobby - register of lobby meetings.
This application comunicates with Open Lobby Server over [GraphQL API](http://graphql.org). The server is available in repository [openlobby/openlobby-server](https://github.com/openlobby/openlobby-server).
## Configuration
- Configuration is done by environment variables:
DEBUG - Set to any value to turn on debug mode. Don’t use in production!
SECRET_KEY - long random secret string (required if not in debug mode)
OPENLOBBY_SERVER_DSN - Open Lobby Server DSN (default: http://localhost:8010)
APP_URL - URL where you run application (default: http://localhost:8020)
## Docker
Docker image is at Docker Hub [openlobby/openlobby-app](https://hub.docker.com/r/openlobby/openlobby-app/). It exposes web application on port 8020. You should provide it environment variables for configuration (at least SECRET_KEY).
## Demo
Demo of Open Lobby with instructions is in repository [openlobby/demo](https://github.com/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 .env
source .env/bin/activate - activates virtualenv
make install - installs requirements and application in development mode
make run - runs development server on port 8020
Now you can use web interface at http://localhost:8020
Next time you can just do steps 2 and 4.
Application development server assumes that you have [openlobby/openlobby-server](https://github.com/openlobby/openlobby-server). running on http://localhost:8010. You can override this address in environment variable OPENLOBBY_SERVER_DSN. E.g. OPENLOBBY_SERVER_DSN=http://my-server:8010 make run
### Testing
Run: pytest
Release files for openlobby-app 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openlobby-app-0.1.0.tar.gz | 10.4 kB | Details |
Release files / openlobby-app-0.1.0.tar.gz
| Download URL | openlobby-app-0.1.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44f2f9deba9727acc63e1d3d920da8d33b74440d89a53549f73bbe3cc14b59b1
|
|
BLAKE2b-256 checksum How to use checksums |
a6bdfc928b0e29f086e06dda1ce388f2fb40e9ceb0316ced0049541106937370
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |