Distributed Monte-Carlo Raytracer
Authenticate with Github
Create RSA-key if you don't have one already
- ssh-keygen -t rsa -C "firstname.lastname@example.org"
Add public key to Github profile
- copy everything from id_rsa.pub (or where ever you stored the key) to Github-> your profile -> SSH Public Keys
Configure your local git:
- git config --global user.name "Your name"
- git config --global user.email "email@example.com"
Working with Aptana Studio 3
Install Pydev (for frontend, Python coding) and CDT (for backend, C++ coding)
File -> Import -> Git Address is git@github:Jontte/DMCR.git
You should now have one new project:
- DMCR The DMCR-project includes the other two, but to make use of Eclipse, C++ and Python must be own projects also. So we must import them as projects.
File -> Import -> General - Import existing project into workspace Choose DMCR/frontend or backend Don't allow Eclipse to copy project contents
NOTE: As you import backend, Eclipse builds it automatically. (At least if you have the dependencies.)
Repeat for the other one Now you should have three projects:
If you have problem with files and folders showing twice in Project Explorer:
- Click on the drop-down arrow in Project Explorer
- Select "Customize View"
- Switch to "Content"
- Disable "Local Filesystem" That should work.
Building the backend
Make sure you have the dependencies
- GCC-compiler (version >=4.6.0 for C++11 functionality)
- Google protobuf (libprotobuf-dev in Ubuntu)
$ make depend