LoginSignup
42

More than 5 years have passed since last update.

githubとgithub pagesでウェブアプリを作ってすぐ公開

Last updated at Posted at 2012-07-23

githubとgithub pagesを駆使するとhtml+JS+cssで作られたウェブアプリを簡単に公開できます。

やり方
1. hogeレポジトリを作ります。
2. ルートにindex.htmlを置きます。
3. index.htmlからアクセスできるようにJSやcssを置きます。
4. コミットします。
5. gh-pagesブランチを作ります。
6. gh-pagesブランチをgithubにpushします。

作ったものはusername.github.com/hogeに公開されます。誰がどんなものを作ったのかURLで判断できるというのは中々の利点ではないでしょうか(更新も楽)。

sample(という名の宣伝): http://ukyo.github.com/js-epub-editor/

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
42