Skip to content

Commit af04aa5

Browse files
add: Deploy to ICP Ninja + standardize README (#1184)
1 parent d96c1d1 commit af04aa5

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

motoko/query_stats/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Query stats
2+
3+
## Deploying from ICP Ninja
4+
5+
[![](https://icp.ninja/assets/open.svg)](https://icp.ninja/editor?g=https://github.com/dfinity/examples/tree/master/motoko/query_stats)
6+
7+
## Build and deploy from the command-line
8+
9+
### 1. [Download and install the IC SDK.](https://internetcomputer.org/docs/building-apps/getting-started/install)
10+
11+
### 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/)
12+
13+
### 3. Navigate into the project's directory.
14+
15+
### 4. Deploy the project to your local environment:
16+
17+
```
18+
dfx start --background --clean && dfx deploy
19+
```
20+
21+
## Security considerations and best practices
22+
23+
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)