PyTherm-applied-thermodynamics

Educational ipython source code for applied thermodynamics.

Get going with GitHub.

In order to be able to submit your contributions you will need to have an account in GitHub and to install Git. Here are the key steps to submit modifications:

summary of the steps: (see details below.)

  • sign up on GitHub
  • fork our repository to your account
  • install Git tools
  • clone your fork into your local device
  • edit the local files of the material using jupyter notebook
  • use Git tools to
    • stage changed files
    • commit modifications with a descriptive message
    • push the modifications to your remote fork
  • create a pull request so we can merge your modified remote fork into our main repository

sign up on GitHub

fork our repository

install Git

“clone”

time for those modifications

just edit the files using jupyter notebook. see “Get going with jupyter notebook” for that, if you haven’t done it already. You can use jupyter notebook both for *.ipynb files and *.md files.

Note: if you downloaded the zip file, extracted and edit the files, then any modification you made there can enter here by pasting/replacing your files with the files just pulled from the repository.

stage

commit

push

to upload the new version to you online github profile you need to push

create a pull request

to submit it to our official repository you need to create a pull request

what to do if somebody changes the official repo before you commit your own changes?

Want to take a look at the files from the upstream repository?

  • Branch > checkout > tracking Branch (fetch tracking branch) Now all the files in your folder will match those in th upstream repository, take a look

Want to take a look at your current version of the files?

  • Branch > checkout > local Branch Now all the files in your folder will again match your version, take a look.

lets get your modifications based on the old version of upstream and merge them into the new versions of the upstream.

  • merge > local merge > Tracking branch (this will merge the files version currently checked-out into the tracking branch (upstream))