@tatsu-1234 (tatsu)

Are you sure you want to delete the question?

Leaving a resolved question undeleted may help others!

GitHubページにアクセスしようとすると404エラーが発生する

解決したいこと
GitHub Pagesにて404エラーが発生する
https://tatsu-1234.github.io/employees/

発生している問題・エラー
index.htmlが見つからないと出る

自分で試したこと
・名称をindex.htmlへ変更
・レポジトリを再構築
・eclipseからgitへコミット
・ブランチをマスターへ変更

初めての投稿ですので内容に不備がありましたらお手数ですがご教授ください。
https://github.com/tatsu-1234/employees

0 likes

2Answer

Comments

  1. @tatsu-1234

    Questioner

    ご確認頂きありがとうございます。
    /employeesへhtmlを移動させ表示はされましたが、javaやcssが反映されるにはどうすればよろしいでしょうか?ファイル配置方法に関して正解がわかりません。

github.ioは静的サイトのみ表示できます。
HTML, CSS, JavaScriptを使用できます。
その他言語(java,rubyなど)のフレームワークは使用できません。

下記公式ドキュメントです。

GitHub Pages is a static site hosting service that takes HTML, CSS, and JavaScript files straight from a repository on GitHub, optionally runs the files through a build process, and publishes a website. You can see examples of GitHub Pages sites in the GitHub Pages examples collection.

0Like

Comments

  1. @tatsu-1234

    Questioner

    @aikawa_YOさま
    ご返信頂きありがとうございます。
    上記、承知致しました。
    基本的なことも知らずお恥ずかしい限りです。。

Your answer might help someone💌