{"id":21388390,"url":"https://github.com/robinvandernoord/jprq-server-deploy","last_synced_at":"2025-07-13T15:32:29.861Z","repository":{"id":45220025,"uuid":"443047683","full_name":"robinvandernoord/jprq-server-deploy","owner":"robinvandernoord","description":"Deployment Information for self hosting jprq","archived":false,"fork":false,"pushed_at":"2021-12-30T15:37:35.000Z","size":11,"stargazers_count":15,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-02T07:46:38.885Z","etag":null,"topics":["go","nginx","python","systemd"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/robinvandernoord.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}},"created_at":"2021-12-30T10:55:01.000Z","updated_at":"2023-02-27T10:14:49.000Z","dependencies_parsed_at":"2022-09-14T05:10:35.644Z","dependency_job_id":null,"html_url":"https://github.com/robinvandernoord/jprq-server-deploy","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinvandernoord%2Fjprq-server-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinvandernoord%2Fjprq-server-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinvandernoord%2Fjprq-server-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinvandernoord%2Fjprq-server-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robinvandernoord","download_url":"https://codeload.github.com/robinvandernoord/jprq-server-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225893661,"owners_count":17540919,"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":["go","nginx","python","systemd"],"created_at":"2024-11-22T12:17:00.249Z","updated_at":"2024-11-22T12:17:02.528Z","avatar_url":"https://github.com/robinvandernoord.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jprq server deploy\n\n[![GitHub](https://img.shields.io/static/v1?style=for-the-badge\u0026message=GitHub\u0026color=181717\u0026logo=GitHub\u0026logoColor=FFFFFF\u0026label=)](https://github.com/robinvandernoord/jprq-server-deploy/edit/master/README.md)\n\n\nThis repository contains example deployment files for self-hosting jprq.\n\n## Tools used\n\n- [jprq](https://github.com/azimjohn/jprq)\n- [go](https://go.dev/doc/install) to build the server and client binaries (\n  see [this release](https://github.com/robinvandernoord/jprq/releases/tag/1.1.0) to download binaries)\n- nginx with a config based\n  on [this example](https://github.com/azimjohn/jprq-python-client/issues/1#issuecomment-675040204)\n- ubuntu 20.04 amd64 server on Oracle Cloud\n- TransIP for the domain name\n- [Let's Encrypt certbot](https://certbot.eff.org/) (`pip install certbot certbot-nginx`)\n- [certbot-dns-transip](https://github.com/hsmade/certbot-dns-transip/) (`pip install certbot-dns-transip`)\n\n## SSL certificates setup\n\n```bash\n# CERTIFICATES contains everything to do with obtaining a dns wildcard certificate\ncd CERTIFICATES\nls -gGoh --time-style=+\"\"\n#  -rwxrwxr-x 1  370  jprq-certs.sh\n#  -rwxrwxr-x 1  166  link-nginx-conf.sh\n#  -rw-rw-r-- 1   28  requirements.txt\n#  -rw------- 1 1.7K  transip-rsa.key\n#  -rw------- 1   79  transip.ini\n#  drwxrwxr-x 4 4.0K  venv\n```\n\nI'll go through each of the files:\n\n##### venv, requirements.txt: virtualenv containing the required dependencies\n\n```bash\npython3 -m pip install virtualenv\npython3 -m virtualenv venv\n. venv/bin/activate\npip install -r requirements.txt \n```\n\n##### transip.ini and transip-rsa.key\n\nThis ini file contains the username that owns the domain you want to request a certificate for. The key contains a\nprivate key with access to that account (See API Settings)[https://www.transip.nl/cp/account/api/].\n\n##### jprq-certs.sh\n\nThis script requests a wildcard certificate for the domain specified in the script\n\n##### link-nginx-conf.sh\n\nLinks a letsencrypt config file that nginx uses to /etc/letsencrypt/\n\n## nginx/service setup\n\nSee the 'nginx' folder for the config files in my `sites-enabled`. To use them, simply change the domain name\n'your.domain.tld' to your actual domain name.\n\nSee the 'service' folder for two simple systemctl (`/etc/systemd/system/`) config files to run the two jprq servers as\nservices. These files also need to be updated with the actual domain name.\n\n## (Oracle) network setup\n\nIn order for the tcp client to work, all unpriviliged ports (1024 and higher) need to be opened in the firewall.\n\n## More info? Docker??\n\nSee also\n\n- https://github.com/azimjohn/jprq-python-client/issues/1\n- https://github.com/azimjohn/jprq/issues/58\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinvandernoord%2Fjprq-server-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinvandernoord%2Fjprq-server-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinvandernoord%2Fjprq-server-deploy/lists"}