You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
-
# example-ruby-app
1
+
# Example Shopify app in Ruby
2
2
3
-
This is an example Shopify application written in Sinatra solely for the purposes of introducing new developers to the Shopify API.
3
+
This is an example Shopify application written in [Sinatra](https://github.com/sinatra/sinatra) solely for the purposes of introducing new developers to the Shopify API.
4
+
5
+
## Credentials
4
6
5
7
This example uses a `.env` file to store the application credentials. After cloning the repository, you'll need to create a file named `.env` in the same folder. The contents of the file should be as follows:
6
8
```
@@ -10,7 +12,9 @@ API_SECRET=YOUR_SECRET_KEY
10
12
11
13
where `YOUR_API_KEY` and `YOUR_SECRET_KEY` are the values of your application's API key and secret key respectively.
12
14
13
-
To get started with this example:
15
+
To retrieve your API credentials, sign up for a [Shopify Partners account](https://app.shopify.com/services/partners/auth/login) and [follow this guide](/api/introduction/getting-started).
16
+
17
+
## Running the app
14
18
15
19
1. Create the `.env` file as described above.
16
20
2.`bundle install` to obtain all of the necessary dependencies
0 commit comments