はじめに
GitHubを使ってhttps通信を実現します。ただしDBとの連携等はできないのでご注意ください。
目次
プロジェクトの作成
リポジトリ作成
画面上部の+からNew Repositoryをクリック
Repository nameを入力してCreate repositoryをクリック(public repositoryが選択されていいることを確認してください)
ファイルの作成
creating a new fileをクリック
以下の通りindex.htmlを作成してCommit changesをクリック
Commit changesをクリック
しばらく待ってページを更新すると以下のように表示されます
公開設定
画面上部のSettingsをクリック
Pagesをクリック
Build and deploymentを以下のように設定
アクセス
以下のurlにアクセス
https://アカウント名.github.io/リポジトリ名
以下のように表示されたらok
参考文献
このページは以下のサイトを参考に作成しました