Skip to content

Commit a4fa8b4

Browse files
authored
Fix the link and order of the Getting Started Guides (#698)
# Problem The button link for the Guide index page was broken. - Swapped the README.md to the index page - Fixed button - No content changes
1 parent 8becbe9 commit a4fa8b4

File tree

4 files changed

+125
-125
lines changed

4 files changed

+125
-125
lines changed

docs/src/GettingStarted/Landing.md

-31
This file was deleted.

docs/src/GettingStarted/QuickStart.md

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# Getting Started
2+
3+
In this tutorial, you will setup the [Social App Template](https://github.com/ProjectLibertyLabs/social-app-template) Example Application that uses Gateway Services.
4+
These will all run locally and connect to the public Frequency Testnet.
5+
This will give you a quick introduction to a working integration with Gateway Services and a starting place to explore the possibilities.
6+
7+
Expected Time: ~5 minutes
8+
9+
## Step 1: Prerequisites
10+
11+
Before you begin, ensure you have the following installed on your machine:
12+
13+
- [Git](https://git-scm.com)
14+
- [Docker](https://www.docker.com)
15+
- [Node.js](https://nodejs.org)
16+
- A Web3 Polkadot wallet (_e.g._ [Polkadot extension](https://polkadot.js.org/extension/))
17+
18+
## Step 2: Register on Testnet
19+
20+
To have your application interact on Frequency Testnet, you will need to register as a Provider.
21+
This will enable users to delegate to you, and your chain actions to be free via [Capacity](https://docs.frequency.xyz/Tokenomics/ProviderIncentives.html).
22+
23+
### Create an Application Account in a Wallet
24+
25+
- Open a wallet extension such as the [Polkadot extension](https://polkadot.js.org/extension/)
26+
- Follow account creation steps
27+
- _Make sure to keep the seed phrase for the service configuration step_
28+
29+
[Detailed Instructions](https://support.polkadot.network/support/solutions/articles/65000098878-how-to-create-a-polkadot-account)
30+
31+
### Acquire Testnet Tokens
32+
33+
Visit the Frequency Testnet Faucet and get tokens: [Testnet Faucet](https://faucet.testnet.frequency.xyz/)
34+
35+
### Create a Provider
36+
37+
Creating your provider account is easy via the [Provider Dashboard](https://provider.frequency.xyz/).
38+
39+
- Use the same browser with the wallet extension
40+
- Visit the [Provider Dashboard](https://provider.frequency.xyz/)
41+
- Select `Become a Provider`
42+
- Select the `Testnet Paseo` network
43+
- Connect the Application Account created earlier
44+
- Select `Create an MSA` and approve the transaction popups
45+
- Choose a public Provider name (e.g. "Cool Test App") and continue via `Create Provider`
46+
- Stake for Capacity by selecting `Stake to Provider` and stake 100 XRQCY Tokens
47+
48+
![Provider Dashboard Example](./Provider-Dashboard.png)
49+
50+
## Step 3: Configure and Run the Example
51+
52+
### Clone the Example Repository
53+
54+
```sh
55+
git clone https://github.com/ProjectLibertyLabs/social-app-template.git
56+
```
57+
58+
```sh
59+
cd social-app-template
60+
```
61+
62+
### Run the Configuration Script
63+
64+
```sh
65+
./start.sh
66+
```
67+
68+
#### Testnet Setup Help
69+
70+
Use default values when uncertain.
71+
72+
- `Do you want to start on Frequency Paseo Testnet?` Yes!
73+
- `Enter Provider ID` This is Provider Id from the Provider Dashboard
74+
- `Enter Provider Seed Phrase` This is the seed phrase saved from the wallet setup
75+
- `Do you want to change the IPFS settings?`
76+
- No if this is just a test run
77+
- Yes, if you want to use an [IPFS pinning service](https://docs.ipfs.tech/how-to/work-with-pinning-services/#use-a-third-party-pinning-service)
78+
79+
## Step 4: Done & What Happened?
80+
81+
You should now be able to access the Social App Template at [http://localhost:3000](http://localhost:3000)!
82+
83+
![SAT Screenshot](./sat-success.png)
84+
85+
### What happened in the background?
86+
87+
All the different services needed were started in Docker (Docker Desktop Screenshot):
88+
![Docker Desktop Screenshot](./DockerDesktop.png)
89+
90+
## Step 5: Shutdown
91+
92+
Stop all the Docker services via the script (with the option to remove saved data), or just use Docker Desktop.
93+
94+
```sh
95+
./stop.sh
96+
```
97+
98+
## What's Next?
99+
100+
- Open the OpenAPI/Swagger Documentation for each service
101+
- Account Service: [Local](http://localhost:3013/docs/swagger) | [Public](https://projectlibertylabs.github.io/gateway/account/)
102+
- Graph Service: [Local](http://localhost:3012/docs/swagger) | [Public](https://projectlibertylabs.github.io/gateway/graph/)
103+
- Content Publishing Service: [Local](http://localhost:3010/docs/swagger) | [Public](https://projectlibertylabs.github.io/gateway/content-publishing/)
104+
- Content Watcher Service: [Local](http://localhost:3011/docs/swagger) | [Public](https://projectlibertylabs.github.io/gateway/content-watcher/)
105+
- [Learn about each service](../Build/)
106+
- [Read about Running in Production](../Run/)

docs/src/GettingStarted/README.md

+16-91
Original file line numberDiff line numberDiff line change
@@ -1,106 +1,31 @@
1-
# Getting Started
1+
# Frequency Developer Gateway Guides
22

3-
In this tutorial, you will setup the [Social App Template](https://github.com/ProjectLibertyLabs/social-app-template) Example Application that uses Gateway Services.
4-
These will all run locally and connect to the public Frequency Testnet.
5-
This will give you a quick introduction to a working integration with Gateway Services and a starting place to explore the possibilities.
3+
## Quick Start
64

7-
Expected Time: ~5 minutes
5+
Walk through all the steps to get Gateway and the Social Application Template running in 5 minutes.
86

9-
## Step 1: Prerequisites
7+
<div class="button-links button-links-small">
108

11-
Before you begin, ensure you have the following installed on your machine:
9+
[Follow the Quick Start Guide](./QuickStart.md)
1210

13-
- [Git](https://git-scm.com)
14-
- [Docker](https://www.docker.com)
15-
- [Node.js](https://nodejs.org)
16-
- A Web3 Polkadot wallet (_e.g._ [Polkadot extension](https://polkadot.js.org/extension/))
11+
</div>
1712

18-
## Step 2: Register on Testnet
13+
## Single Sign-On
1914

20-
To have your application interact on Frequency Testnet, you will need to register as a Provider.
21-
This will enable users to delegate to you, and your chain actions to be free via [Capacity](https://docs.frequency.xyz/Tokenomics/ProviderIncentives.html).
15+
Learn how to use the Frequency Developer Gateway to quickly add Sign In with Frequency, a single sign-on powered by Frequency, to your application.
2216

23-
### Create an Application Account in a Wallet
17+
<div class="button-links button-links-small">
2418

25-
- Open a wallet extension such as the [Polkadot extension](https://polkadot.js.org/extension/)
26-
- Follow account creation steps
27-
- _Make sure to keep the seed phrase for the service configuration step_
19+
[Follow the SSO Guide](./SSO.md)
2820

29-
[Detailed Instructions](https://support.polkadot.network/support/solutions/articles/65000098878-how-to-create-a-polkadot-account)
21+
</div>
3022

31-
### Acquire Testnet Tokens
23+
## Become a Provider
3224

33-
Visit the Frequency Testnet Faucet and get tokens: [Testnet Faucet](https://faucet.testnet.frequency.xyz/)
25+
Learn how to setup your Provider Account to represent your application on Frequency.
3426

35-
### Create a Provider
27+
<div class="button-links button-links-small">
3628

37-
Creating your provider account is easy via the [Provider Dashboard](https://provider.frequency.xyz/).
29+
[Follow the Become a Provider Guide](./BecomeProvider.md)
3830

39-
- Use the same browser with the wallet extension
40-
- Visit the [Provider Dashboard](https://provider.frequency.xyz/)
41-
- Select `Become a Provider`
42-
- Select the `Testnet Paseo` network
43-
- Connect the Application Account created earlier
44-
- Select `Create an MSA` and approve the transaction popups
45-
- Choose a public Provider name (e.g. "Cool Test App") and continue via `Create Provider`
46-
- Stake for Capacity by selecting `Stake to Provider` and stake 100 XRQCY Tokens
47-
48-
![Provider Dashboard Example](./Provider-Dashboard.png)
49-
50-
## Step 3: Configure and Run the Example
51-
52-
### Clone the Example Repository
53-
54-
```sh
55-
git clone https://github.com/ProjectLibertyLabs/social-app-template.git
56-
```
57-
58-
```sh
59-
cd social-app-template
60-
```
61-
62-
### Run the Configuration Script
63-
64-
```sh
65-
./start.sh
66-
```
67-
68-
#### Testnet Setup Help
69-
70-
Use default values when uncertain.
71-
72-
- `Do you want to start on Frequency Paseo Testnet?` Yes!
73-
- `Enter Provider ID` This is Provider Id from the Provider Dashboard
74-
- `Enter Provider Seed Phrase` This is the seed phrase saved from the wallet setup
75-
- `Do you want to change the IPFS settings?`
76-
- No if this is just a test run
77-
- Yes, if you want to use an [IPFS pinning service](https://docs.ipfs.tech/how-to/work-with-pinning-services/#use-a-third-party-pinning-service)
78-
79-
## Step 4: Done & What Happened?
80-
81-
You should now be able to access the Social App Template at [http://localhost:3000](http://localhost:3000)!
82-
83-
![SAT Screenshot](./sat-success.png)
84-
85-
### What happened in the background?
86-
87-
All the different services needed were started in Docker (Docker Desktop Screenshot):
88-
![Docker Desktop Screenshot](./DockerDesktop.png)
89-
90-
## Step 5: Shutdown
91-
92-
Stop all the Docker services via the script (with the option to remove saved data), or just use Docker Desktop.
93-
94-
```sh
95-
./stop.sh
96-
```
97-
98-
## What's Next?
99-
100-
- Open the OpenAPI/Swagger Documentation for each service
101-
- Account Service: [Local](http://localhost:3013/docs/swagger) | [Public](https://projectlibertylabs.github.io/gateway/account/)
102-
- Graph Service: [Local](http://localhost:3012/docs/swagger) | [Public](https://projectlibertylabs.github.io/gateway/graph/)
103-
- Content Publishing Service: [Local](http://localhost:3010/docs/swagger) | [Public](https://projectlibertylabs.github.io/gateway/content-publishing/)
104-
- Content Watcher Service: [Local](http://localhost:3011/docs/swagger) | [Public](https://projectlibertylabs.github.io/gateway/content-watcher/)
105-
- [Learn about each service](../Build/)
106-
- [Read about Running in Production](../Run/)
31+
</div>

docs/src/SUMMARY.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Summary
22

33
[Introduction](README.md)
4-
[Quick Start Tutorial](./GettingStarted/README.md)
4+
[Quick Start Tutorial](./GettingStarted/QuickStart.md)
55

66
---
77

8-
- [Guides](./GettingStarted/Landing.md)
9-
- [Quick Start](./GettingStarted/README.md)
8+
- [Guides](./GettingStarted/README.md)
9+
- [Quick Start](./GettingStarted/QuickStart.md)
1010
- [Become a Provider](./GettingStarted/BecomeProvider.md)
1111
- [Single Sign On](./GettingStarted/SSO.md)
1212
- [Fundamentals](./Fundamentals/README.md)

0 commit comments

Comments
 (0)