<<<<<<< HEAD
GameResourceBot has a nickname. It likes to be called "GRB", so we call it that most of the time.
FIRST-TIMERS: SKIP THIS PART
If you previously completed all steps in this guide and need to update again, please skip to STEP 4.
FIRST-TIMERS: SKIP THIS PART
- About This Guide
- Important Background Information
- The (Setup to) Update Process
(1) STEP 1. INSTALL GITHUB DESKTOP
(2) STEP 2. LOG IN TO GITHUB
(3) STEP 3. CLONE YOUR REPOSITORY
(4) STEP 4. SYNC YOUR REPOSITORY
The GRB setup process you already encountered is the same for everyone. The GRB update process here is not.
Which GRB update process you will use depends on the operating system your computer uses.
If your computer's operating system is Microsoft Windows 7 or later (64-bit), this guide is for you.
If your computer's operating system is something else, please see "Updating GameResourceBot".
This guide assumes you are familiar with the guide titled "Setting Up GameResourceBot", meaning you have gone through all the steps in that guide and have a general understanding of all the technical terms in that guide. Otherwise, why would you even be reading this guide? Therefore, if you encounter something in this guide that you do not understand and is not explained in this guide, please refer to that guide.
Finally, all the headers for the primary step numbers in this guide (the final four lines of CONTENTS) use ALL CAPS. (See? We didn't forget about the important clue we promised you!) This helps you make sure you're actually using the guide you want to be using.
During Step 4 of "Setting Up GRB", we mentioned briefly that BlackCraze occasionally updates the master source code, which is in his master repository.
During that same step, we configured Heroku to deploy a shiny new version of GRB every time the source code on GitHub changes. But there's a catch.
Your Heroku account is not connected to BlackCraze's GitHub account. It's connected to YOUR GitHub account.
Therefore, the only way for you to get a shiny new GRB is to synchronise your forked repository with BlackCraze's master repository.
Unlike Heroku, GitHub does not have a way to make this happen without human interaction.
This is because GitHub is a really busy place. Imagine if someone attempted to set up a picnic in the traffic lanes of a major freeway during rush hour. The result would be bad for the picnickers and for the motorists, and it still would be LESS chaotic than GitHub with an auto-synchronise function. Trust us, you don't want that.
- Start your web browser.
- Go to https://desktop.github.com/
- Large button in the centre: Download for Windows (64bit)
Setup app will download. - Locate the file you just downloaded (GitHubDesktopSetup.exe).
- Double-click the file to begin the setup.
- After setup, the GitHub Desktop app should start automatically. If it doesn't, start it yourself.
There are two different ways to log in. You need only one (if it is successful).
- Start GitHub Desktop.
- Menu bar: File > Options...
- Top left: Accounts
- Blue link near the bottom: Sign in using your browser
- Switch to your web browser.
ATTENTION: Specifics will vary, depending on the browser you are using.- Near the bottom: Check "Remember my choice for x-github-client links".
- In the centre of the pop-up window, select GitHubDesktop.exe
- Bottom right: Open link
- Switch to GitHub Desktop.
- Menu bar: File > Options...
- If you see your GitHub username here, you're good. Skip to STEP 3.
- If you don't see your GitHub username here, proceed with EASY METHOD.
- Start GitHub Desktop.
- Menu bar: File > Options...
- Top left: Accounts
- Far right, upper blue button: Sign in
- Enter your GitHub login credentials.
- Blue button at bottom: Sign in
- Menu bar: File > Options...
- If you see your GitHub username here, you're good. Skip to STEP 3.
- If you don't see your GitHub username here, something is wrong. Begin STEP 2 again.
Because of the unique ways that GitHub works, the only way to synchronise your forked repository with BlackCraze's master repository is to create a duplicate of your repository on your computer's hard drive.
- Yes, it probably seems weird to you. It seems weird to most people, but it's how GitHub works.
- Sometimes, other people help BlackCraze write the source code.
- A helper often keeps a working copy of their repository on their computer's hard drive.
- The helper then transfers their work from their working copy to the master repository.
- You are going to pretend to be a helper. This actually simplifies things for GitHub.
- This allows GitHub to use one update method for helpers and non-helpers, instead of two methods.
- Switch to your web browser.
- Go to https://www.github.com
- Scroll to the bottom of the page.
- Bottom right: Section "Your repositories": Click GameResourceBot
- Far right: Green button: Clone or download
- Bottom left of small pop-up window: Open in Desktop
- GitHub Desktop (Windows should switch here automatically. If not, go there.)
Local path: The default local path begins with your user directory, then adds\Documents\GitHub\GameResourceBot
- Recommended: Keep the default.
- OR If you prefer a different path, click Choose... and select the folder you prefer.
- Blue button: Clone
- Watch the magic happen.
Congratulations! The hardest part is done. In the next step, we will synchronise your forked repository with the master repository. For future updates, the next step is the only step you will need to do.
- Start or Switch to GitHub Desktop (if needed).
- Below the menu bar, second button should read: Current branch: master
- If it does not, click it and select "master". Menu bar: Repository > Pull
- OR Large button below the menu bar, on the right: Fetch origin
- Menu bar: Branch > Merge into current branch...
- Bottom: Other branches: Select upstream/master
- Blue button at bottom: Merge into master
- Menu bar: Repository > Push
- OR Large button below the menu bar, on the right: Push origin
- Below the menu bar, second button should read: Current branch: master
That's it! Heroku will now see the changes and update your GRB.
Enjoy!
GameResourceBot has a nickname. It likes to be called "GRB", so we call it that most of the time.
FIRST-TIMERS: SKIP THIS PART
If you previously completed all steps in this guide and need to update again, please skip to STEP 4.
FIRST-TIMERS: SKIP THIS PART
- About This Guide
- Important Background Information
- The (Setup to) Update Process
(1) STEP 1. INSTALL GITHUB DESKTOP
(2) STEP 2. LOG IN TO GITHUB
(3) STEP 3. CLONE YOUR REPOSITORY
(4) STEP 4. SYNC YOUR REPOSITORY
The GRB setup process you already encountered is the same for everyone. The GRB update process here is not.
Which GRB update process you will use depends on the operating system your computer uses.
If your computer's operating system is Microsoft Windows 7 or later (64-bit), this guide is for you.
If your computer's operating system is something else, please see "Updating GameResourceBot".
This guide assumes you are familiar with the guide titled "Setting Up GameResourceBot", meaning you have gone through all the steps in that guide and have a general understanding of all the technical terms in that guide. Otherwise, why would you even be reading this guide? Therefore, if you encounter something in this guide that you do not understand and is not explained in this guide, please refer to that guide.
Finally, all the headers for the primary step numbers in this guide (the final four lines of CONTENTS) use ALL CAPS. (See? We didn't forget about the important clue we promised you!) This helps you make sure you're actually using the guide you want to be using.
During Step 4 of "Setting Up GRB", we mentioned briefly that BlackCraze occasionally updates the master source code, which is in his master repository.
During that same step, we configured Heroku to deploy a shiny new version of GRB every time the source code on GitHub changes. But there's a catch.
Your Heroku account is not connected to BlackCraze's GitHub account. It's connected to YOUR GitHub account.
Therefore, the only way for you to get a shiny new GRB is to synchronise your forked repository with BlackCraze's master repository.
Unlike Heroku, GitHub does not have a way to make this happen without human interaction.
This is because GitHub is a really busy place. Imagine if someone attempted to set up a picnic in the traffic lanes of a major freeway during rush hour. The result would be bad for the picnickers and for the motorists, and it still would be LESS chaotic than GitHub with an auto-synchronise function. Trust us, you don't want that.
- Start your web browser.
- Go to https://desktop.github.com/
- Large button in the centre: Download for Windows (64bit)
Setup app will download. - Locate the file you just downloaded (GitHubDesktopSetup.exe).
- Double-click the file to begin the setup.
- After setup, the GitHub Desktop app should start automatically. If it doesn't, start it yourself.
There are two different ways to log in. You need only one (if it is successful).
- Start GitHub Desktop.
- Menu bar: File > Options...
- Top left: Accounts
- Blue link near the bottom: Sign in using your browser
- Switch to your web browser.
ATTENTION: Specifics will vary, depending on the browser you are using.- Near the bottom: Check "Remember my choice for x-github-client links".
- In the centre of the pop-up window, select GitHubDesktop.exe
- Bottom right: Open link
- Switch to GitHub Desktop.
- Menu bar: File > Options...
- If you see your GitHub username here, you're good. Skip to STEP 3.
- If you don't see your GitHub username here, proceed with EASY METHOD.
- Start GitHub Desktop.
- Menu bar: File > Options...
- Top left: Accounts
- Far right, upper blue button: Sign in
- Enter your GitHub login credentials.
- Blue button at bottom: Sign in
- Menu bar: File > Options...
- If you see your GitHub username here, you're good. Skip to STEP 3.
- If you don't see your GitHub username here, something is wrong. Begin STEP 2 again.
Because of the unique ways that GitHub works, the only way to synchronise your forked repository with BlackCraze's master repository is to create a duplicate of your repository on your computer's hard drive.
- Yes, it probably seems weird to you. It seems weird to most people, but it's how GitHub works.
- Sometimes, other people help BlackCraze write the source code.
- A helper often keeps a working copy of their repository on their computer's hard drive.
- The helper then transfers their work from their working copy to the master repository.
- You are going to pretend to be a helper. This actually simplifies things for GitHub.
- This allows GitHub to use one update method for helpers and non-helpers, instead of two methods.
- Switch to your web browser.
- Go to https://www.github.com
- Scroll to the bottom of the page.
- Bottom right: Section "Your repositories": Click GameResourceBot
- Far right: Green button: Clone or download
- Bottom left of small pop-up window: Open in Desktop
- GitHub Desktop (Windows should switch here automatically. If not, go there.)
Local path: The default local path begins with your user directory, then adds\Documents\GitHub\GameResourceBot
- Recommended: Keep the default.
- OR If you prefer a different path, click Choose... and select the folder you prefer.
- Blue button: Clone
- Watch the magic happen.
Congratulations! The hardest part is done. In the next step, we will synchronise your forked repository with the master repository. For future updates, the next step is the only step you will need to do.
- Start or Switch to GitHub Desktop (if needed).
- Below the menu bar, second button should read: Current branch: master
- If it does not, click it and select "master". Menu bar: Repository > Pull
- OR Large button below the menu bar, on the right: Fetch origin
- Menu bar: Branch > Merge into current branch...
- Bottom: Other branches: Select upstream/master
- Blue button at bottom: Merge into master
- Menu bar: Repository > Push
- OR Large button below the menu bar, on the right: Push origin
- Below the menu bar, second button should read: Current branch: master
That's it! Heroku will now see the changes and update your GRB.
Enjoy!
8f733a27f822dac43f5ed4ec8376813a79f021f2