Git Product home page Git Product logo

elm-workshop's Introduction

Welcome!

Today, we will try to learn Elm together. Before starting to develop in Elm, we need to follow some instructions to have a working dev environment.

Install Elm

You need to download and install Elm through the following link.

Install a plugin for your editor

Install a plugin for your editor to be able to understand Elm. You can find some instructions for these editors (I advice you to use IntelliJ or VS Code):

If you don't want to set up a dev environment, you can use the Ellie online editor โ€“ a link will be provided at each step.

Install elm-format

elm-format is a code formatter that will format your Elm code according to a standard set of rules. It looks a lot like prettier, for those who know it. This is not mandatory but strongly advised as it will really improve your experience with Elm.

Follow the instructions on the elm-format page and don't forget to configure your IDE to work with elm-format.

Get the code

You now need to get the code from this repository, either by downloading the archive (click here) or by cloning it:

git clone https://github.com/jgrenat/elm-workshop.git
cd elm-workshop

Workshop

This workshop is divided into several folders corresponding to one step each. To start, first execute the following commands into your terminal at the root of this repository:

elm reactor

You can then open the link http://localhost:8000/. As you can see, elm-reactor allowed us to launch a basic dev environment, and you can see the different folders for each step of the project. You can now start by going into the step 1.

If you need a little reminder about the syntax, you can check this cheat sheet.

elm-workshop's People

Contributors

jbehuet avatar jgrenat avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.