Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

My goals for this setup are 

  • 1 JDK only - it looks like Zulu 17 will work for CLI and Data Loader

  • To NOT have any Path issues (I will not believe it though)

  • I still like Bitbucket and SourceTree, but now that Github Private Repos are free, and DevOps Center will use Github to start, I will try to use that for now. 

  • I want to have Cumulus CI installed also. 

Your PC Setup

On this PC I made sure I have my username with no spaces (JodieM) and hopefully I won't have any Path issues. I still don't know where to put my Code, but I do like having it in Dropbox so I will probably keep it there. 

Installing

Now, I had hoped that there was not an order to do this in, but it seems there is. My video failed at getting everything installed and working first go. But weirdly, the third time I did the full installation on a new PC, it all worked fine first go. 

So here's the video below, but here's what I'd recommend (Updated)

  • Install Zulu JDK 

  • Install DataLoader so you know the JDK is working

    - this

    Install JDK

    • (This is not necessarily a dev tool, and I mainly use Enabler4Excel but it's important to have for the occasions where you need to use it). 

  • Install the CLI
  • Install VS Code
  • Install the Extensions
    • Wow the Dataloader install was amazingly good this time! And it has an app menu shortcut so you don’t have to go to a file and run it from a batch file!

  • Install VS Code

    • Choose a nice colour theme

    • I chose to sync to my VS Code on my old laptop so I don’t have to reinstall all my extensions. I will turn on the sync after setting up the Salesforce extensions).

  • Install Git

    • I don’t know all the options so I just choose the defaults

  • Install VS Code Extensions

  • Install the CLI

Video showing my install (this is from my old install)

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width400px
urlhttps://www.youtube.com/watch?v=KpxWqdAaGVs
height300px

Video Notes

  • At 6:59 it jumped in the first part of Git Install - but see notes below - you should not need to do that now, as Source Tree will install it for you. 

  • at 16:58 this is the first time I got the issue that should have been solved by PATH, but I still think it is best to install the CLI. Then I even mention it a few minutes later. 

  • Bonus points if you can hear the possum growling and dog barking in the background. 


title
Info

Final Steps

As for my issues, it was a bug in VS Code. Hopefully it's fixed when you install VS Code but if not, here are the steps to work around it. See https://github.com/forcedotcom/salesforcedx-vscode/issues/742 

  • Close VS Code

  • Rename your .sfdx folder to sfdxold (this is a hidden folder in your home directory (eg C:\Users\YourName, so turn on Show Hidden Folders in your folder options)

  • Open up VS Code again

  • Open the terminal 

  • Type sfdx

    Type sfdx force:auth:web:login --setalias youralias --

    instanceurl https

    instanceurl https://yourorg.my.salesforce.com

  • Press Enter

  • It will take a while

That will authorise an org and create the required files in the .sfdx folder. You should now be able to run the SFDX commands from the Command Pallette. 

Remember to logout of all orgs after you are finished working with VS Code. sfdx force:auth:logout -u youralias or use the SFDX logout command. 

...

I created a brand new Bitbucket account and then verified it by clicking on the email they sent. There is a good wizard on creating that asks you a few simple questions like how familar you are with Git. I said not at all. As stated before, the only reason I'm doing this is because my bitbucket is set up to authenticate with SSH and I don't want to confuse you. But it made it annoying that I could not be logged into my Confluence and Bitbucket at the same time.

Create a Repository 

...

  • Always use This is a private repository

  • No, you don't need a README

  • Yes, you want to use Git

  • You don't need the advanced settings. 

...

  • This is cute - it only comes up when you say you are not good with Git. Grab that URL for use for later. 

Source Tree 

Install from https://www.sourcetreeapp.com/

...