{"id":28432044,"url":"https://github.com/fsinfuhh/bitpoll","last_synced_at":"2025-07-05T00:31:43.126Z","repository":{"id":40380945,"uuid":"96909886","full_name":"fsinfuhh/Bitpoll","owner":"fsinfuhh","description":"A web application for scheduling meetings and general polling.","archived":false,"fork":false,"pushed_at":"2024-11-23T18:34:13.000Z","size":7807,"stargazers_count":271,"open_issues_count":71,"forks_count":37,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-06-05T16:09:42.885Z","etag":null,"topics":["django","polling","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fsinfuhh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-07-11T15:42:36.000Z","updated_at":"2025-05-23T13:55:21.000Z","dependencies_parsed_at":"2023-02-18T11:31:15.297Z","dependency_job_id":"96d4e5f5-2002-401f-897f-e5ae2681d51a","html_url":"https://github.com/fsinfuhh/Bitpoll","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/fsinfuhh/Bitpoll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsinfuhh%2FBitpoll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsinfuhh%2FBitpoll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsinfuhh%2FBitpoll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsinfuhh%2FBitpoll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fsinfuhh","download_url":"https://codeload.github.com/fsinfuhh/Bitpoll/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fsinfuhh%2FBitpoll/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263639127,"owners_count":23492955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","polling","python3"],"created_at":"2025-06-05T16:09:42.853Z","updated_at":"2025-07-05T00:31:43.120Z","avatar_url":"https://github.com/fsinfuhh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bitpoll\n\nBitpoll is a software to conduct polls about Dates, Times or general Questions.\n\nThis is a new version of the Dudel from opatut (\u003chttps://github.com/opatut/dudel\u003e) used on \u003chttps://bitpoll.de\u003e, rewritten using the Django framework as a backend.\n\n## Using Docker\n\nThe docker image is built automatically from the current master branch.\nYou can use the following commands to set up the docker container:\n\nCreate a directory for static and config files:\n\n```bash\nmkdir -p run/{log,static,config}\n```\n\nGet the example settings file and adapt it according to your needs:\n\n```bash\nwget https://raw.githubusercontent.com/fsinfuhh/Bitpoll/master/bitpoll/settings_local.sample.py -O run/config/settings.py\n```\n\nIt is important to change at least the database settings, secret key, and allowed hosts.\n\nStart the docker container:\n\n```bash\ndocker run -a stdout -a stderr --rm --name bitpoll -p 3008:3008 -p 3009:3009 --volume ./run/static:/opt/static --volume ./run/config:/opt/config ghcr.io/fsinfuhh/bitpoll\n```\n\nThe container is reachable on port 3009.\nIf you use an external web server, you can use uwsgi traffic on port 3008 and serve the static\nassets from `run/static` at `/static/`.\n\n## Manual Install\n\nGet the code:\n\n```bash\ngit clone https://github.com/fsinfuhh/Bitpoll\n```\n\nGenerate a Python virtualenv and install dependencies:\n\n```bash\nvirtualenv -p $(which python3) .pyenv\nsource .pyenv/bin/activate\npip install -r requirements.txt\n```\n\nCopy `bitpoll/settings_local.sample.py` to `bitpoll/settings_local.py` and customize the local settings.\n\nInitialise Database:\n\n```bash\n./manage.py migrate\n```\n\nRun Testserver:\n\n```bash\n./manage.py runserver\n```\n\n## Production\n\nIn production Senty is used for error reporting.\ndjango-auth-ldap is used vor login via ldap\nuwsgi to serve the app\n\nInstall Dependencies for Production:\n\n```bash\nsudo apt install g++ make python3-psycopg2 python3-ldap3 gettext gcc python3-dev libldap2-dev libsasl2-dev\n```\n\nInstall Python Dependencies\n\n```bash\npip install -r requirements-production.txt\n```\n\nConfigure examples are in `settings_local.py`\n\nour used uwsgi config can be found at\n\u003chttps://github.com/fsinfuhh/mafiasi-rkt/blob/master/bitpoll/uwsgi-bitpoll.ini\u003e\n\nFor Production systems it is nessesarry to run\n\n```bash\n./manage.py compilemessages\n./manage.py collectstatic\n```\n\n## Management of Dependencies\n\nWe use pip-tools to manage the dependencies.\nAfter modification or the requirements*.in files or for updates of packages run\n\n```bash\npip-compile --upgrade --output-file requirements.txt requirements.in\npip-compile --upgrade --output-file requirements-production.txt  requirements-production.in requirements.in\n```\n\nto sync your enviroment with the requirements.txt just run\n\n```bash\npip-sync\n```\n\nthis will install/deinstall dependencies so that the virtualenv is matching the requirements file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffsinfuhh%2Fbitpoll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffsinfuhh%2Fbitpoll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffsinfuhh%2Fbitpoll/lists"}