If you received an error message indicating that your Rogue Cloud client API version is no longer supported, or if just want to ensure you have the most recent version of the Rogue Cloud client code, you can follow these instructions to get up-to-date.
There are three methods you may use to upgrade the Rogue Cloud client code.
With this method you can pull the latest changes from the official rogue-cloud-client (https://github.com/microclimate-dev2ops/rogue-cloud-client) repository entirely within the code editor UI.
- In the code editor view, select
View
>Git
. - Inside the Git view, Select the
...
Icon, then selectPull...
- Under
Pick a remote to pull the branch from:
selectOrigin
.
Once the latest changes are pulled, Microclimate will detect the change and you should see a notification in the Build logs
view.
For users that are familiar with the git command line tool, you can use this method to pull from the in-browser terminal:
- In the code editor view, select
File
>New Terminal
, which will open a new command line terminal inside the code editor. - You should already be in the
/home/microclimate-workspace
directory. If not, typecd /home/microclimate-workspace
- Pull the latest changes from the remote repository by running the following commands:
cd roguecloudclient
git pull
Method #3: If you encounter errors using the above methods, and/or want to start your project from a clean slate (ie from scratch):
WARNING: This method will delete all the Rogue Cloud code, including any changes you made to your AI code. Make sure you have backed up any important changes to your AI code, if applicable. Don't forget to note your username and password!
Steps:
- Read and heed the above warning 😄.
- Select
Projects
, to bring you to the Microclimate Projects view. - Click the
roguecloudclient
context icon (3 vertical dots), and selectDelete project
. - Follow the Add Rogue Cloud to Microclimate steps of the installation page (https://github.com/microclimate-dev2ops/rogue-cloud/blob/master/docs/Developing-Microclimate.md). This will a fresh copy of the rogue-cloud-client repository.