Skip to content
timvdm edited this page Sep 13, 2010 · 4 revisions

Welcome to the Molsketch wiki!

Build instructions

Users


$ git clone git://github.com/timvdm/Molsketch.git molsketch
$ cd molsketch
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install

Contributors

Create your own fork by clicking the the fork button next to Molsketch. Next, you can checkout the code:


$ git clone git://github.com/<b>yourname</b>/Molsketch.git molsketch
$ cd molsketch
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install

Commit code

After you made some changes, you can put them on github using:


$ git status
# On branch master 
# Changed but not updated:
#   (use "git add <file>..." to update what will be committed)
#
#	modified:   ../src/atom.h
...
$ git add ../src/atom.h            <-- add the file to the next commit
$ git commit                           <-- commit the added file(s)

The changes are still on your computer though. You still need to push them to github.


$ git push origin master

Once your changes are on github, you can do a pull request to merge your changes in the main repository.

Clone this wiki locally