Skip to content

Instantly share code, notes, and snippets.

@vramana
Last active December 17, 2015 13:49
Show Gist options
  • Select an option

  • Save vramana/5619531 to your computer and use it in GitHub Desktop.

Select an option

Save vramana/5619531 to your computer and use it in GitHub Desktop.
contrib

How to Contribute

Setting up tools

1. Getting Git

To install git in Linux-like systems you can do it via your native package management system:

$ yum install git

or:

$ sudo apt-get install git

In both Mac 10.4 and 10.5, you can install Git via MacPorts

$ sudo port install git

For Windows, install git from here http://msysgit.github.io/

2. Getting sbt

Linux

  1. Download sbt from here: http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.12.2/sbt.tgz
  2. Unpack the archive to a directory of your choice
  3. Add the bin/ directory to the PATH environment variable. Open the file ~/.bashrc in an editor (create it if it doesn’t exist) and add the following line export PATH=/PATH/TO/YOUR/sbt/bin:$PATH

Verify that sbt is installed correctly: Open a new terminal (to apply the changed .bashrc) and type sbt -h, you should see a help message from sbt.

Mac OS X

If you use the homebrew package manager, simply type brew update and then brew install sbt in a Terminal prompt.

Otherwise, install sbt by following these steps:

  1. Download sbt from here: http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.12.2/sbt.tgz
  2. Unpack the archive to a directory of your choice
  3. Add the bin/ directory to the PATH environment variable. Open the file ~/.bash_profile in an editor (create it if it doesn’t exist) and add the following line export PATH=/PATH/TO/YOUR/sbt/bin:$PATH

Verify that sbt is installed correctly: Open a new terminal (to apply the changed .bashrc) and type sbt -h, you should see a help message from sbt.

Windows

  1. Download the sbt installer from here: http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt/0.12.2/sbt.msi
  2. Run the installer

Verify that sbt is installed correctly: open the Command Prompt and type sbt sbt-version, you should see the version number of sbt.

Note: The first time you run sbt, it will download libraries from the internet.

If you have problems installing sbt, ask for help on the mailing list or on the IRC channel at #spire-math on freenode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment