{"id":23446066,"url":"https://github.com/drogonframework/drogon-website","last_synced_at":"2025-04-13T15:11:46.117Z","repository":{"id":47167360,"uuid":"281119877","full_name":"drogonframework/drogon-website","owner":"drogonframework","description":"Drogon community website.","archived":false,"fork":false,"pushed_at":"2025-01-25T14:16:18.000Z","size":4339,"stargazers_count":30,"open_issues_count":1,"forks_count":10,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-27T06:05:38.430Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://drogon.org","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drogonframework.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}},"created_at":"2020-07-20T13:11:24.000Z","updated_at":"2025-01-25T14:16:22.000Z","dependencies_parsed_at":"2024-12-23T20:32:55.561Z","dependency_job_id":"200e0a29-4644-47a6-adc0-8896da586cc8","html_url":"https://github.com/drogonframework/drogon-website","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/drogonframework%2Fdrogon-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drogonframework%2Fdrogon-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drogonframework%2Fdrogon-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drogonframework%2Fdrogon-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drogonframework","download_url":"https://codeload.github.com/drogonframework/drogon-website/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732490,"owners_count":21152852,"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":[],"created_at":"2024-12-23T20:29:30.493Z","updated_at":"2025-04-13T15:11:46.097Z","avatar_url":"https://github.com/drogonframework.png","language":"CSS","readme":"# Drogon Website\n\nThe source code for Drogon's official website.\n\n## Dependencies\n\n* C++ 20 capable compiler\n* [Drogon](https://github.com/drogonframework/drogon)\n* [nlohmann-json](https://github.com/nlohmann/json)\n\n## How to deploy\n\n### Running in terminal\n\nThe backend is designed to be built by CMake like any C++ applications.\n\n```bash\nmkdir build\ncd build\ncmake .. # Add -DCMAKE_CXX_FLAGS=\"-std=c++20 -fcoroutines\" if using GCC10\nmake -j\n./drogon_website\n```\n\nIt load it's configuration from `drogon_config.json` in the current directory. Which is frequently replaced when building the backend itself. Please edit `drogon_config.json` in the project root to have a permanent effect. \n\n### Arch Linux\n\nIf you are using Arch Linux, the PKGBUILD file contains everything you need to build the backend. (NOTE: This PKGBUILD is aimed for making local builds)\nAssuming your `pwd` is in the same folder as this README file is.\n\n```bash\n# We need to perform some stuff outside of the directory\ncd .. \nmkdir trunk\n# Compress the directory then put PKGBUILD and the archive in the same folder\ntar --exclude='build' --exclude=\"content/uploads\" --zstd -cf trunk/drogon-website.tar.zst drogon-website/\ncp drogon-website/PKGBUILD trunk\n\n# Build the package\ncd trunk\nmakepkg\n```\n\nThe generated `drogon-website-0.0.1-x86_64.tar.zst` should be located inside `trunk`.  Just use `pacman -U` to install it and start it through systemd.\n\n```bash\nsudo pacman -U drogon-website*.pkg.tar.zst\nsudo systemctl start drogon-website\n```\n\nBy default, the service listens on 0.0.0.0 port 8848. To change the IP address that the service is listening on, edit `/usr/share/drogon-website/drogon_config.json` and change `address`.\n\n```json\n/*inside the configuration file*/\n\"listeners\": [\n    {\n        \"address\": \"0.0.0.0\", /* \u003c==== change this*/\n        \"port\": 8848,\n        \"https\": false\n    }\n],\n```\n\nRemeber to restart the service after changing the configuration.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrogonframework%2Fdrogon-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrogonframework%2Fdrogon-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrogonframework%2Fdrogon-website/lists"}