Code Monkey home page Code Monkey logo

contenta_jsonapi__elm's Introduction

Prerequisites

Make sure the following are installed:

  • NodeJs (and npm)
  • Elm (e.g. npm install -g elm@~0.18.0)
  • Compass (for SASS) (gem update --system && gem install compass)
  • Elm Format (npm install -g [email protected]), not strictly required for the development, but the standard must be followed, as Travis checks that. Therefore it's highly suggested to run Elm Format upon save at your IDE (https://github.com/avh4/elm-format#editor-integration).

Installation

  • npm install
  • elm-package install -y
  • cp src/elm/LocalConfig.Example.elm src/elm/LocalConfig.elm

You may need to update src/elm/LocalConfig.elm if your local URLs are different from the default setting.

Usage

  1. Serve locally, and watch file changes: gulp
  2. Prepare file for publishing (e.g. minify, and rev file names): gulp publish
  3. Deploy to GitHub's pages (gh-pages branch of your repository): gulp deploy

Unit Tests

The unit tests are written in Elm via Elm Test and it's invoked at the Travis builds.

Local execution

npm test

WebdriverIO tests

  1. Run gulp
  2. Follow steps 2-4
  3. cp wdio.local.conf.js.example wdio.local.conf.js and set your local configurations.
  4. Execute tests with ./node_modules/.bin/wdio wdio.local.conf.js

Beware that you do not need to (should not) execute a standalone Selenium Server alongside WDIO to run the tests. To simulate Travis test execution, see ../ci-scripts/README.md

contenta_jsonapi__elm's People

Contributors

amitaibu avatar

Watchers

 avatar  avatar  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.