Skip to content

Commit e737b78

Browse files
authored
Merge pull request #1185 from dfinity/jessiemongeon1-patch-16
add: Deploy to ICP Ninja + Standardize README
2 parents 17199d3 + 619cdd9 commit e737b78

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

motoko/send_http_get/README.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,26 @@
22

33
The purpose of this dapp is to give developers a minimal dapp that uses the IC's HTTPS outcalls feature to make a `GET` request.
44

5-
This demo goes in hand with the [developer documentation on HTTPS outcalls](https://internetcomputer.org/docs/current/developer-docs/integrations/https-outcalls/https-outcalls-get).
5+
This demo goes in hand with the [developer documentation on HTTPS outcalls](https://internetcomputer.org/docs/building-apps/network-features/using-http/https-outcalls/get).
66

7-
If you want to start working on your project right away, you might want to try the following commands:
7+
## Deploying from ICP Ninja
88

9-
```bash
10-
git clone https://github.com/dfinity/examples
11-
cd examples/motoko/send_http_get
12-
dfx start --background
13-
dfx deploy
9+
[![](https://icp.ninja/assets/open.svg)](https://icp.ninja/editor?g=https://github.com/dfinity/examples/tree/master/motoko/send_http_get)
10+
11+
## Build and deploy from the command-line
12+
13+
### 1. [Download and install the IC SDK.](https://internetcomputer.org/docs/building-apps/getting-started/install)
14+
15+
### 2. Download your project from ICP Ninja using the 'Download files' button on the upper left corner, or [clone the GitHub examples repository.](https://github.com/dfinity/examples/)
16+
17+
### 3. Navigate into the project's directory.
18+
19+
### 4. Deploy the project to your local environment:
20+
21+
```
22+
dfx start --background --clean && dfx deploy
1423
```
24+
25+
## Security considerations and best practices
26+
27+
If you base your application on this example, it is recommended that you familiarize yourself with and adhere to the [security best practices](https://internetcomputer.org/docs/building-apps/security/overview) for developing on ICP. This example may not implement all the best practices.

0 commit comments

Comments
 (0)