Skip to content
This repository was archived by the owner on Jul 15, 2019. It is now read-only.

Update Process for Mac OSX

smit1678 edited this page Jan 31, 2013 · 4 revisions

Use the following steps to install and update the undp.github.com repository. These steps are outlined for computers running Apple OSX operating system.

Additional help on Github for Mac can be found in their help pages.

Requirements

1. Install Python

2. Install Github for Mac

3. Open the Github app

  • Sign in with your user name and password. Configure settings with your email.

4. Clone repo to computer

  • Click on the UNDP repository
  • Select the undp/undp.github.com repository
  • Select Close to computer

Steps to Update

5. Copy and replace all .csv files in the download/undp-export/ folder

  • Replace existing files with the updated export
  • Ensure these are correctly formatted CSV files

6. Open Terminal and run processing script

  • Navgiate to undp.github.com/bin/
cd undp.github.com/
cd bin/
  • Run the batch script
./update.sh
  • You'll see the processing output. Close terminal.

9. Open Github App and Commit changes

  • Navigate back to the Github app
  • You will now see the files that are changed
  • Enter a commit message and hit commit

10. Sync repository to push changes to the remote server

  • Select "Sync Branch" to sync and push your changes
Clone this wiki locally