Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 968 Bytes

README.md

File metadata and controls

50 lines (35 loc) · 968 Bytes

what-to-eat

About:

Do you have difficulty deciding what to eat? This website helps you to decide what to eat around you

Install:

Clone this repo into a new project folder, e.g. what-to-eat:

git clone https://github.com/jinshunlee/what-to-eat my-elm-project
cd my-elm-project

Re-initialize the project folder as your own repo:

rm -rf .git         # on Windows: rmdir .git /s /q
git init
git add .
git commit -m 'first commit'

Install all dependencies using the handy reinstall script:

npm run reinstall

This does a clean (re)install of all npm and elm packages, plus a global elm install.

Serve locally:

npm start
  • Access app at http://localhost:8080/
  • Get coding! The entry point file is src/elm/Main.elm
  • Browser will refresh automatically on any file changes..

Build & bundle for prod:

npm run build
  • Files are saved into the /dist folder
  • To check it, open dist/index.html