What is GitHub?  If you are like me and have very little experience with computers, aside from email, then you probably don’t know what GitHub is.  I found this post to be very helpful in explaining what it is and why we would care to use it.  In short, GitHub is a version control system, it is open source, user-friendly, and we need it for our summer project.

Clear and easy to follow directions on how to set up an account and get started are available on Anton’s wiki.  Once you create an account, you would want to go to your settings and then choose the SSH and GPG Keys link from the left-hand tab (see below).

Screen Shot 2016-05-18 at 6.08.08 PM

Next, you would need to generate an SSH Key, following the instructions here. A link to these is also available on Anton’s wiki.

Once you have completed this part, open Aquamacs, if you are working on MacOSX, or Emacs for Windows OS.  Find/open the file named init.m2 in Aquamacs or Emacs; you can reference this post on where to look for the initialization file.  Once you have located the initialization file, you would want to redirect the path highlighted in the screenshot below.

Screen Shot 2016-05-18 at 9.52.27 PM.png

Replace the highlighted path with
-- path = {"< ~ >/M2/M2/Macaulay2/packages/"} | path.

This allows you to pull the Macaulay2 packages from the repository you cloned from GitHub.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s