Files
elm-0.19-workshop/intro
Peter Karth 4035369af2 Updates the dependencies in part5 to 0.19
In attempting the `elm make` call in part received this error:

-- CORRUPT CACHE ---------------------------------------------------------------

I ran into an unknown package while exploring dependencies:

    NoRedInk/json-decode-pipeline

This suggests that your /Users/{UserName}/.elm directory has been corrupted.
Maybe some program is messing with it? It is just cached files, so you can
delete it and see if that fixes the issue.

The names of two of the modules appear to have changed for 0.19. This is
currently updated in the solutions branch but not the exercises branch.

Feel free to delete this if it doesn't fit into your workflow workflow.
It seemed nicest to open this as PR in case anyone else ran into the same
issue and is looking for answers.
2018-08-26 12:45:00 -04:00
..
2018-08-15 10:36:42 -05:00
2018-08-14 01:48:11 -04:00
2018-08-14 01:55:25 -04:00
2018-08-14 01:59:19 -04:00
2018-08-14 03:37:19 -04:00
2018-08-14 03:37:19 -04:00
2018-08-15 17:36:47 -05:00
2018-08-15 17:37:42 -05:00
2018-08-14 02:12:19 -04:00
2018-08-15 11:31:30 -05:00

Introduction to Elm Workshop

If you haven't already, follow the Getting Started instructions at the root of this repository, then continue here!

Start the server

We'll be running a local server for our Elm UI to use. Let's get it set up.

cd intro/server
npm install
npm start

If the server started up successfully, you should see > moleculer-runner services at the end of your terminal.

We're going to leave this server running and not touch it again for the duration of the workshop, so don't close it until the workshop is over!

Build the Elm UI

Leave the existing terminal running, and open a second terminal.

In the new termnal, cd into the elm-0.19-workshop/intro/server/ directory again.

Then run this to build the Elm code for the first time:

elm make src/Main.elm --output=../server/public/elm.js

Verify your setup

Open http://localhost:3000 in your browser. You should see this in it:

A screenshot showing “You’re all set!”

If things arent working, the instructor will be happy to help!