The main application can be found inside yougit-js/
- Windows: YouGit-win32-x64
- MacOS: Build currently unavailable
- Install Node.js v6.9.0 or less (cannot be higher version as nodegit is incompatible
- Clone the repository and cd to
yougit/yougit-js/
- Run the command
npm install
to download the required dependencies - Run the command
npm rebuild-mac
ornpm rebuild
for Windows (compiles packages, this may take some time) - Finally, run the command
npm run start
to launch the application!
Optional: npm run test
to run the unit tests
- Download and Install IntelliJ Java IDE: https://www.jetbrains.com/idea/
- Clone the repository with
git clone https://github.com/kritzware/software-project.git
- Launch IntelliJ and open the downloaded project
Before starting work make sure you pull the latest version from Github. Navigate to the software-project/
folder in your command line and use the command git pull
(If that doesn't work, try git pull origin master
)
- Implement/add your feature
- Write a unit test for your newly added code (If applicable)
- Navigate to the
software-project/
folder and use the following commands git add .
--> Adds all your changesgit commit -m "Your commit message"
--> Commit the changes with a messagegit push
--> Push your commits to GitHub
- Open the project in IntelliJ IDE
- Right click on software-project (root folder) on the left sidebar
- Click 'Open Module Settings' > 'Modules' (Project Settings) > 'Dependencies'
- Click the green plus button > 'JARs or directories'
- Navigate to software-project/.idea/libraries and select all 6 .jar files
- hamcrest-core-1.3.jar
- jsch-0.1.54.jar
- junit-4.12.jar
- org.eclipse.jgit-4.6.0.201612231935-r.jar
- slf4j-api-1.7.22.jar
- slf4j-simple-1.7.22.jar
- Once you've added all the jars, click Apply and then OK to close
- The libraries should be correctly imported now and the program should build succesfully