Hosting on GitHub

GitHub is a code hosting and collaboration platform which lends itself naturally to publishing your experiment code as Open Source. In addition to hosting source code, GitHub also allows hosting websites using its GitHub Pages feature.

Magpie's project template (the one you get, when running magpie new) already contains a working GitHub Workflow for deploying to GitHub Pages. This means, when you push your project to GitHub, it will automatically build the experiment and commit the output to the gh-pages branch for you. Once you enable GitHub Pages for your repository, GitHub will make the latest version of the gh-pages branch available publicly at https://<username><repo-name>/. As you commit new changes to your main branch, the workflow will keep your gh-pages branch up-to-date.