halfzebra / create-elm-app

🍃 Create Elm apps with zero configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploying to Github - a few clarifications

benkoshy opened this issue · comments

Hi there

Thank you for your awesome tool!

I have some questions re: deploying to Github (i'm also happy to make a PR to improve the documentation where relevant):

In the User guide for Github pages we are asked to:

Open your elmapp.config.js and add a homepage field:

module.exports = {
    homepage: "https://myusername.github.io/my-app",
}
  • I do not have an elmapp.config.js file in the project - am wondering where I should add in the above code? I do have a webpack.config.prod.js file though?

  • In another issue, it was suggested that the homepage should be added to the: elm-package.json file? I am confused as to what to do here.

  • I tried deploying to github pages, but this is the result - any pointers?

Thank you so much for your help. Again - am happy to make PRs to the documentation where required.

rgds

Ben

Solved with #409

Thank you!