-
Notifications
You must be signed in to change notification settings - Fork 7
Publishing SharpJS Applications
0xFireball edited this page Apr 26, 2016
·
1 revision
So you built your SharpJS application...great! But how do you publish it?
For this tutorial, I will assume that you are working on a GitHub repository.
- Copy all the files from the
bin/Debug/html
folder and theLibraries
folder somewehere else, to a temporary folder outside the repository. - Switch your repository to the
gh-pages
branch. This is best done from the GitHub online page generator, as it will automatically orphan thegh-pages
branch. - Once you create your site online, clone it, switch to the
gh-pages
branch, and delete its contents. - Copy everything you set aside in a temporary folder earlier into the
gh-pages
branch of your repository. - Commit, sync, and optionally switch back to the
master
branch. - Congratulations! Your website is at
<your-github-username>.github.io/<your-repository-name>
.