The quickest way to get the shopify permanent access token
In recent years, Shopify has become one of the most popular e-commence web site hosting platforms. One of the key things they differentiate themselves from other hosting platforms is their vast eco-system and marketplace. They also provide a lot of incentives to developers and partners who develop on top their APIs.
To educate myself, I have been researching the shopify APIs recently.
Of course, as usual, I start by going through the shopify app version of the “hello world” example. This is the “Create an App quickstart” document I followed.
All went smooth other than a couple minor hiccups (i.e. deviations from the instructions) with going through this tutorial using windows subsystem for linux and ubuntu . These are the steps:
sudo apt update
sudo apt install ruby
sudo apt install ruby-dev
sudo apt-get install ubuntu-dev-tools
sudo gem install shopify-cli
shopify login
shopify node create
shopify node serve
The steps highlighted in bold was not explicitly mentioned in the doc but very necessary to previous various errors you would encounter during installation of shopify-cli or during node serve.
Of course then I went ahead with the next tutorial to add features to this embedded app. This was all good. But…