From 7cd9e03a2c80e34abd7789b9f0db06d43323c383 Mon Sep 17 00:00:00 2001 From: Boubacar Barry Date: Tue, 14 Mar 2017 18:29:04 +0100 Subject: [PATCH 1/2] Adding quick start setup --- README.md | 51 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 38 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 598791f..435a62f 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,53 @@ # ES6 Koans -You need to have `node/npm and git` installed on your computer. +In this set of examples and tests we cover ES6 Koans concepts such as + - arrow function, + - class + - iterator + - ... +### Quick start +**Make sure you have Node version >= 6.0 and NPM >= 3** -## Clone and install repo using git +> Clone/Download the repo then edit `*.spec.js` files inside [`/test/`](/test/) +> Replace all `__` to fix failing tests -Follow these few steps in order to use this repo +```bash +# clone our repo +git clone https://github.com/hackages/javascript.koans.git -``` -$ git clone https://github.com/hackages/es6.koans.git +# change directory to our repo +cd advanced.js.koans + +# start the server (`npm install` will be performed for you) +npm start -$ cd es6.koans +# start your tests in the console (`npm install` will be performed for you) +npm test -$ npm test ``` +go to [http://localhost:8080](http://localhost:8080) in your browser + +**We use Mocha in this repository** + +**For those using `yarn`, make sure to remove the `prestart` script before running `yarn** -## You can also download the repo from [Github](https://github.com/hackages/es6.koans) +**For those using **WallabyJS**, just run it and you'll be on your way to master JS syntax** -## Recommended Tools +### Recommended Tools 1. You can use your favorite IDE but we recommend using one of those that support WallabyJS - 1. [Atom.io ](https://atom.io/) - 2. WebStorm - 3. Any other IDEs + * [Visual Studio Code](https://code.visualstudio.com/) + * [Atom.io ](https://atom.io/) + * WebStorm + * Any other IDEs 2. If you haven’t done so just install [Wallabyjs](http://wallabyjs.com) -3. We will be using babel and Webpack + +## Contributing + +Feel free to send us PRs + +Happy coding! + +[Hackages Team](http://hackages.io) From 7007ca33cfb1cb11fd41d7ee312abb9468de9dcf Mon Sep 17 00:00:00 2001 From: Boubacar Barry Date: Tue, 14 Mar 2017 18:31:51 +0100 Subject: [PATCH 2/2] Fix clone link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 435a62f..747a580 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ In this set of examples and tests we cover ES6 Koans concepts such as ```bash # clone our repo -git clone https://github.com/hackages/javascript.koans.git +git clone https://github.com/hackages/es6.koans # change directory to our repo cd advanced.js.koans