Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rubysolo/warmup-exercises

Short assignments to start the day off right.
https://github.com/rubysolo/warmup-exercises

Last synced: 3 months ago
JSON representation

Short assignments to start the day off right.

Awesome Lists containing this project

README

        

# Warm-Up Exercises

## Setup

Clone this repository.

```sh
git clone [email protected]:JumpstartLab/warmup-exercises.git
```

### Ruby

* Install [RVM](https://rvm.io/)
* Install [Ruby 2.0.0](http://www.ruby-lang.org/en/)

```bash
$ \curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled
```

### JavaScript & CoffeeScript

* Install [Node.js](http://nodejs.org/)
* Install [jasmine-node](https://github.com/mhevery/jasmine-node)

```bash
$ brew install node
$ npm install jasmine-node -g
```

Update the `~/.bash_profile` to include NPM binary files on the PATH:

```
export PATH=/usr/local/share/npm/bin:$PATH
```

## Execution

### Ruby

```bash
$ cd WARMUP
$ ruby test.rb
```

### JavaScript

```bash
$ cd WARMUP
$ jasmine-node test.spec.js
```

### CoffeeScript

Jasmine-Node favors JavaScript files over CoffeeScript (even with the differing
file endings) so the test file named is named differently.

```bash
$ cd WARMUP
$ jasmine-node --coffee coffee.spec.coffee
```