Skip to content

Commit

Permalink
Merge pull request #3 from TrustlyInc/DEV-224374-add-basic-contributi…
Browse files Browse the repository at this point in the history
…ng-guide-to-example-apps

[DEV-224374] Add basic contributing guide to example apps
  • Loading branch information
renatodelpupo authored Mar 4, 2024
2 parents 07abdb7 + 4845500 commit 450c7d6
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
### Description

_(Insert pull request description)_

---

### Relevant Commits

_(List of main updates)_

---

### Requirements

_(Please check if your pull request fulfills the following requirements)_

- [ ] Changes were properly tested (attach evidence if applicable)
- [ ] Repository's code-style/linting compliant

---

### Evidence

_(Insert any evidence related to this pull request. Leave it as **"None"** or **"Not applicable"** if you have nothing to add)_

---

### Additional Information

_(Insert any additional information related to this pull request, as more context or Jira ticket. Leave it as **"None"** or **"Not applicable"** if you have nothing to add)_
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,44 @@
```
git clone [email protected]:TrustlyInc/trustly-cordova-example.git
```

2. Install project dependencies

```
npm install
```

3. Add desired platforms to your project. We suggest at least adding `ios` and `android`.

```
npx cordova platform add ios && npx cordova platform add android
```

4. Replace the placeholder tokens with your credentials:

```
// ./www/js/index.js
const ACCESS_ID = 'YOUR_ACCESS_ID';
const MERCHANT_ID = 'YOUR_MERCHANT_ID';
```

Also replace YOUR_ACCESS_ID in `./www/index.html` within the script tag that loads `trustly.js`.

5. Start the app!

```
npx cordova run ios
```

or

```
npx cordova run android
```
```

# Contributing

You can participate in this project by submitting bugs and feature requests in the [Issues](https://github.com/TrustlyInc/trustly-cordova-example/issues) tab. Please, add [@lukevance](https://github.com/lukevance) as an assignee.

If you are interested in fixing issues and contributing directly to the code base, feel free to open a Pull Request with your changes. Please, make sure to fulfill our [Pull Request Template](https://github.com/TrustlyInc/trustly-cordova-example/blob/main/.github/pull_request_template.md) and add [@lukevance](https://github.com/lukevance) as code reviewer.

0 comments on commit 450c7d6

Please sign in to comment.