If you are contributing to this project, and are fairly new to how this whole contributing thing works, then please follow the outlined instructions. Here is how to do a simple fork and pull.
- Fork this repository (Fork button on the top right)
- On your computer, navigate to a directory where you want to work on the project.
- run
git initfollowed bygit remote add origin git@github.com:YOURUSERNAME/voctec_sizing.git(replace YOURUSERNAME with your username). - Now pull everything with
git pull
Every change you make from then on should be pushed to your fork of the repository. To merge your code into the master, simply submit a pull request. More information is available on the Github Support page.
Git is optional, but for completeness it is included. First of all, refer to this github article on how to set up git on your computer. If you're on windows, you may additionally want to install Github for Windows.
As for Eclipse, you are also going to need to install the proper git plugins. To do so, follow the steps outlined below.
- Open Eclipse
- Go to
Help>Install New Software - Under Work with, select your Eclipse version site ( something like
Kepler - http://download.eclipse.org/releases/kepler) - type
gitin the search box - Install everything that doesn't end in
- Source Code - Accept licenses and install.
Install dependencies:
This project uses Slick2D from the Slick 2D Maven repository. Below is a quick excerpt on getting it installed.
git clone git://github.com/nguillaumin/slick2d-maven.git
cd slick2d-maven
mvn clean install
Use Maven Natives to automatically build the project for your platform. To install Maven Natives, just follow the simple steps below.
- Open Eclipse
- Go to
Help>Install New Software - Paste the following URL:
http://mavennatives.googlecode.com/svn/eclipse-update/ - Install Maven Natives