Skip to content

Commit

Permalink
Update Create Aleo App Install Script & Tutorial Title (#292)
Browse files Browse the repository at this point in the history
* update installation scripts, title change for tutorial to match syntax

* add text faucet

* Update documentation/sdk/create-aleo-app/01_create_aleo_app.md

Signed-off-by: Collin Chin <[email protected]>

* Update documentation/sdk/create-aleo-app/01_create_aleo_app.md

Signed-off-by: Collin Chin <[email protected]>

---------

Signed-off-by: Collin Chin <[email protected]>
Co-authored-by: Collin Chin <[email protected]>
  • Loading branch information
frank-aleo and collinc97 authored Oct 5, 2023
1 parent ddebf8c commit 8aaf0d3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
18 changes: 4 additions & 14 deletions documentation/sdk/create-aleo-app/00_app_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,11 @@ npm create aleo-app@latest

Then follow the prompts!

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold an Aleo + React project, run:

```bash
# npm 6.x
npm create aleo-app@latest aleo-project --template react

# npm 7+, extra double-dash is needed:
npm create aleo-app@latest aleo-project -- --template react
```

Currently supported template presets include:
- `vanilla` (javascript)
- `react`

You can use `.` for the project name to scaffold in the current directory.
- `react` + `javascript`
- `react` + `javascript` + `leo`
- `node` + `javascript`
- `vanilla (javascript)`

## More Information

Expand Down
13 changes: 10 additions & 3 deletions documentation/sdk/create-aleo-app/01_create_aleo_app.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: tutorial
title: Create Aleo App - React Leo Tutorial
sidebar_label: React + Leo Tutorial
title: Create Aleo App - React + JS + Leo Tutorial
sidebar_label: React + JS + Leo Tutorial
---

<a href="https://www.npmjs.com/package/create-aleo-app"> <img alt="Create Aleo App" src="https://img.shields.io/npm/l/create-aleo-app?label=NPM%20-%20Create-Aleo-App&labelColor=green&color=blue" /></a>
Expand Down Expand Up @@ -59,7 +59,14 @@ Write down your private key, view key, and public address in a safe place. Treat

### Faucet

Once you have your account, use our faucet to get some Aleo credits! If you haven’t already, join our [Discord server](https://discord.gg/aleohq) and use the `#faucet` channel. You can send only one request every 20 minutes and can only request 50 credits per hour. Once you send a faucet request, Discord will start a thread under the faucet channel with your request.
Once you have your account, use our faucet to get some Aleo credits! We have a faucet by text and one via Discord.
<!-- markdown-link-check-disable -->
Head to our [faucet page](https://faucet.aleo.org/) and follow the instructions there.
<!-- markdown-link-check-enable -->

After the credits have been disbursed to your address, note your transaction ID down.

You can also join our [Discord server](https://discord.gg/aleohq) and use the `#faucet` channel if texting isn't working. You can send only one request every 20 minutes and can only request 50 credits per hour. Once you send a faucet request, Discord will start a thread under the faucet channel with your request.

Format:

Expand Down

0 comments on commit 8aaf0d3

Please sign in to comment.