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

Update Process for Mac OSX

Jura Khrapunov edited this page Nov 27, 2015 · 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/open.undp.org repository
  • Select Close to computer

Steps to Update

5. Copy and replace .xml file and all changed .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

  1. Make sure you have installed the requirements:

     $: pip install -r requirements.txt
    
  2. Run the main script located at /scripts folder

     $: python start.py
    

7. 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

8. Sync repository to push changes to the remote server

  • Select "Sync Branch" to sync and push your changes