{"id":24882848,"url":"https://github.com/dobschal/edition-bohemica","last_synced_at":"2026-05-03T12:32:17.408Z","repository":{"id":38975171,"uuid":"144261719","full_name":"dobschal/edition-bohemica","owner":"dobschal","description":"Webseite für den Verlag edition bohemica.","archived":false,"fork":false,"pushed_at":"2024-08-29T18:48:44.000Z","size":56475,"stargazers_count":1,"open_issues_count":32,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-30T11:13:53.544Z","etag":null,"topics":["javascript","nodejs","vuejs","website"],"latest_commit_sha":null,"homepage":"https://edition-bohemica.de","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dobschal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-08-10T08:49:19.000Z","updated_at":"2024-08-29T18:48:48.000Z","dependencies_parsed_at":"2024-10-26T20:59:24.112Z","dependency_job_id":null,"html_url":"https://github.com/dobschal/edition-bohemica","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobschal%2Fedition-bohemica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobschal%2Fedition-bohemica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobschal%2Fedition-bohemica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dobschal%2Fedition-bohemica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dobschal","download_url":"https://codeload.github.com/dobschal/edition-bohemica/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245806459,"owners_count":20675300,"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":["javascript","nodejs","vuejs","website"],"created_at":"2025-02-01T13:16:34.734Z","updated_at":"2026-05-03T12:32:12.382Z","avatar_url":"https://github.com/dobschal.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# _edition bohemica_\n\n![Hetzner Deployment](https://github.com/dobschal/edition-bohemica/actions/workflows/main.yml/badge.svg)\n\n\u003e App should be available here: [Edition Bohemica](https://edition-bohemica.de)\n\n## Hosting\n\nThere is a Hetzner VM running with Docker and Ubuntu.\nDomain lay at IONOS and have a DNS A record pointing to the VM.\n\n## CI Deployment via GitHub Pipeline\n\nCheck the workflow in the .github folder.\nIt connects to the Hetzner VM via SSH, fetches the latest changes, builds the docker image and restarts the server.\n\n## Deployment via Docker\n\nFirst create a volume to have the MongoDB and uploads persisted:\n```bash\ndocker volume create db-volume\ndocker volume create uploads-volume\n```\n\nCreate the docker network:\n```bash\ndocker network create edition-bohemica\n```\n\nThen start the MongoDB containers via docker compose:\n```bash\ndocker compose up -d\n```\n\nInside the docker compose file, there is a path to an old backup of the mongodb. That is copied as a volume into the container. \nOpen a shell in the container and restore the backup:\n```bash\ndocker exec -it mongodb sh\nmongorestore --verbose --db edition-bohemica /dump/edition-bohemica\n```\n\nThen start the server container:\n```\n\nInteract with mongodb\n```bash\n# Move into docker container\ndocker exec -it mongodb sh\n# open mongo shell\nmongo\n# show databases\nshow databases\n```\n\nThe URL in the server app to the mongo db needs to be changed to `mongodb://mongodb:27017/edition-bohemica`.\nBecause the network is setup via Docker.\n\n### Backups\n\nCheckout the backup.sh script. It copies all relevant files into `~/backups` on the machine.\nIn the standard ubuntu cron job folder, a SH script exists, to make the backups.\n\n## Nginx\n\nWe are just using the Node exposed port 3000 and redirecting it via Nginx to the domain.\nThere are no static files served via Nginx.\n\n## SSL Certificates\n\nWe use certbot with letsencrypt to get the certificates.\nhttps://www.youtube.com/watch?v=ghZXFyIyK1o\n\nThe certs are renewed automatically via a cronjob.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdobschal%2Fedition-bohemica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdobschal%2Fedition-bohemica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdobschal%2Fedition-bohemica/lists"}