Tuesday, February 20, 2018

Heroku deployment


If you are in a situation where you got following error:

git push [remote name] master

Unable to negotiate a key exchange method
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Check your remote repository path of heroku app by using command 

git remote -v | grep [remote-name]

Output of command will give you git path of your repository

[remote-name] git@heroku.com:[heroku-app-name].git (fetch)
[remote-name] git@heroku.com:[heroku-app-name].git (push)

Change it to https path as following

[remote-name] https://git.heroku.com/[heroku-app-name].git (fetch)
[remote-name] https://git.heroku.com/[heroku-app-name].git (push)

Then again try to push your code to Heroku app.

Your code will be deployed , Happy Heroku Deployment.

Salesforce1 app in Firefox browser

If you are building for Salesforce1 App and you want to test in your browser.
For firefox browser

1. Just inspect the page 



2. Click on Mobile icon

3. Select any mobile device


And you are ready to test your changes in your browser , without opening and login in the app on your phone.

It's very handy for your future Salesforce1 customizations.
Happy Salesforce coding.

Followers