{"id":13653096,"url":"https://github.com/georgechang/schost-basic","last_synced_at":"2026-01-17T09:03:44.786Z","repository":{"id":132707051,"uuid":"174763874","full_name":"georgechang/schost-basic","owner":"georgechang","description":"Basic Sitecore Host application for demo","archived":false,"fork":false,"pushed_at":"2019-03-30T02:08:17.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-01-24T03:42:03.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","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/georgechang.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}},"created_at":"2019-03-10T01:12:49.000Z","updated_at":"2019-12-23T20:15:18.000Z","dependencies_parsed_at":"2023-06-03T20:45:54.172Z","dependency_job_id":null,"html_url":"https://github.com/georgechang/schost-basic","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/georgechang%2Fschost-basic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgechang%2Fschost-basic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgechang%2Fschost-basic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georgechang%2Fschost-basic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/georgechang","download_url":"https://codeload.github.com/georgechang/schost-basic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250384826,"owners_count":21421799,"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-08-02T02:01:05.806Z","updated_at":"2026-01-17T09:03:44.713Z","avatar_url":"https://github.com/georgechang.png","language":"C#","readme":"# Basic Sitecore Host Application\n\nThis is a basic Sitecore Host application that displays a demo web page. This was originally used as a demo for [SUGCON EU](https://www.sugcon.eu/) 2019 and at the [Atlanta Sitecore User Group](https://www.meetup.com/Atlanta-Sitecore/) in March 2019.\n\n## Components 🧩\n\n### `ScHost`\n\nThis is the base Sitecore Host application. It initializes Sitecore Host...and that's about it.\n\n### `GC.Plugin.Messaging.Web`\n\nThis is the plugin that provides functionality to the Sitecore Host application. It initializes a web host and provides a demo page to be displayed.\n\n## Usage 🙋‍♂️\n\nThere is a Cake script that will execute the build and deployment of the application.\n\nSimply run `build.ps1` and the script will build and deploy the application into the `bin` directory of `ScHost`. This will include the dependent `GC.Plugin.Messaging.Web` plugin and deploy the files to the appropriate directories in the application.\n\nIf you'd like to publish your application to a different path, you can execute the Cake script like this:\n\n`.\\build.ps1 -ScriptArgs '-output=\"C:\\output\"'`\n\n**You will need a Sitecore subscription license placed in the `sitecoreruntime` folder of the published application in order for it to run.**\n\nTo use the plugin independently, you can run `dotnet pack` on the `GC.Plugin.Messaging.Web` project which will properly generate a NuGet package for use with a Sitecore Host application. You'll need to then extract and install the NuGet package based on Sitecore's documentation [here](https://doc.sitecore.com/developers/91/sitecore-experience-management/en/add-a-runtime-plugin-manually.html#UUID-eb8606b9-8730-496a-b367-671c8b9dbab7_section-idm45363803631184).\n\n## Docker 🚚\n\nThere is a `Dockerfile` included in the project which will build and create a Docker image of the Sitecore Host application. The `Dockerfile` expects the Sitecore `license.xml` to be in the root (same folder as the `Dockerfile`) in order to build the image.\n\nThe Cake script also has steps to build the Docker image. You can run the following to build a Docker image:\n\n`.\\build.ps1 -Target \"Docker Build\"`\n\nOr, to build and run the image, you can do:\n\n`.\\build.ps1 -Target \"Docker Run\"`\n\nBy default, it tags the images as `schost:latest`. If you want to change the tag of the Docker image that is built with the Cake script, you can run either the `Docker Build` or `Docker Run` targets with the this extra parameter:\n\n`.\\build.ps1 -Target \"Docker Build\" -ScriptArgs '-tag=\"newtag:latest\"'`\n\n## Disclaimer ⚠\n\nThis is only intended as a proof-of-concept and does not contain production-ready code. Please don't treat it as such. 😎","funding_links":[],"categories":["Sitecore Host"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorgechang%2Fschost-basic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeorgechang%2Fschost-basic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorgechang%2Fschost-basic/lists"}