Skip to content

Commit 346c94d

Browse files
Scott Carruthersgitbook-bot
authored andcommitted
GitBook: [akash-network#238] Hyperlink edits in stoppable web 2.0 doc
1 parent e077e2e commit 346c94d

File tree

1 file changed

+18
-23
lines changed

1 file changed

+18
-23
lines changed

deploy/unstoppable-web-2.0.md

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Unstoppable Web 2.0
22

3-
**Repository:** [https://github.com/coffeeroaster/unstoppable-web2.0/ ](https://github.com/coffeeroaster/unstoppable-web2.0/)
3+
Repository repository is located [here](unstoppable-web-2.0.md#decentralized-infrastructure).
44

5-
This repository serves as a general guide and proof of concept for **deploying a full-stack web application onto blockchain-based decentralized infrastructure**.
5+
This repository serves as a general guide and proof of concept for deploying a full-stack web application onto blockchain-based decentralized infrastructure.
66

7-
The repository is structured as a **monorepo** - with **infrastructure configuration**, **application frontend code**, and **application backend code** all in one repository. This is done so that anyone can clone or fork this one repository and begin to experiment with deploying a decentralized web application.
7+
The repository is structured as a monorepo - with infrastructure configuration, application frontend code, and application backend code all in one repository. This is done so that anyone can clone or fork this one repository and begin to experiment with deploying a decentralized web application.
88

99
### Decentralized infrastructure
1010

11-
| DNS | Frontend | Backend | Redundant Database |
11+
| DNS | Frontend | Backend | <p>Redundant </p><p>Database</p> |
1212
| ---------------------------------- | ---------------------------- | ------------------------------ | ----------------------------------- |
1313
| | | | |
1414
| [Handshake](https://handshake.org) | [Skynet](https://siasky.net) | [Akash](https://akash.network) | [Postgresql](http://postgresql.org) |
@@ -21,42 +21,38 @@ The demo application deployed in this guide is a note app - with create, read, d
2121
| ---------------------------- | ---------------------------------------------- | ---------------------------------------- |
2222
| [React](https://reactjs.org) | [Python FastAPI](https://fastapi.tiangolo.com) | [PostgreSQL](https://www.postgresql.org) |
2323

24-
The application structure is bootstrapped using this **cookiecutter** template [https://github.com/Buuntu/fastapi-react](https://github.com/Buuntu/fastapi-react). The **docker** image is based on [tiangolo/uvicorn-gunicorn-fastapi-docker](https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker).
24+
The application structure is bootstrapped using this [cookiecutter](https://github.com/Buuntu/fastapi-react) template. The **docker** image is based on this [image](https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker).
2525

2626
The application code, technology choices, and configuration used in this repository should provide a general enough base to fork and adapt, or just reference, for future decentralized web application development.
2727

2828
### Deployed Demo
2929

30-
A deployed **live demo** was deployed using the steps in this guide. Link below:
31-
32-
| Frontend URL | Backend URL |
33-
| ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
34-
| [**Skynet URL**](https://0000ac8v9uf92otn28omnuqfan0qd05f3gjrsfoonjpjl3m3ir7qds8.siasky.net/#) | [https://unstoppablestack.coffeeroaster.me/](https://unstoppablestack.coffeeroaster.me) |
30+
A deployed [live demo](https://0000ac8v9uf92otn28omnuqfan0qd05f3gjrsfoonjpjl3m3ir7qds8.siasky.net/#) was deployed using the steps in this guide.&#x20;
3531

3632
## Guide
3733

3834
### Step 1 - Buy Handshake domain
3935

4036
There are a few simple options for registering a **Handshake** domain name:
4137

42-
1. Use a platform like **Namebase** [https://www.namebase.io/](https://www.namebase.io) or a tool like **Bob Wallet** [https://github.com/kyokan/bob-wallet](https://github.com/kyokan/bob-wallet) to purchase a top-level Handshake domain.
38+
1. Use a platform like [Namebase](https://www.namebase.io) or a tool like [Bob Wallet](https://github.com/kyokan/bob-wallet) to purchase a top-level Handshake domain.
4339

4440
Domain purchases using Handshake are achieved through an [auction process](https://www.namebase.io/blog/tutorial-3-basics-of-handshake-auction-and-bidding). It will take **10 days** for your auction to finalize. and a winning bid, before you can make use of the domain.
45-
2. Use **gateway.io** [https://gateway.io/](https://gateway.io) to purchase a domain under one of gateway's existing top-level Handshake domains, like **.c** or **.api**. Domains purchased in this way are **usable immediately**.
41+
2. Use [**gateway.io**](https://gateway.io) to purchase a domain under one of gateway's existing top-level Handshake domains, like **.c** or **.api**. Domains purchased in this way are **usable immediately**.
4642

4743
### Step 2 - Push Docker image
4844

49-
1. Make sure **Docker** [https://www.docker.com/](https://www.docker.com) is installed.
45+
1. Make sure [Docker](https://www.docker.com) is installed.
5046
2. **CD** to the directory where your `Dockerfile` is. For this repository, it is in `application/backend/Dockerfile`.
5147
3. **Build** and **tag** docker image `docker build -t/: .`
5248
4. **Login** to dockerhub `docker login --username=`. You will be prompted for a password.
5349
5. **Push** your docker image to dockerhub `docker push`. Paste this yaml into the tool.
5450

5551
### Step 3 - Deploy back-end to Akash
5652

57-
If you haven't already, take the time to read through the **Akash deployment documentation** and familiarize yourself with the concepts and steps involved [https://docs.akash.network/guides/deploy](https://docs.akash.network/guides/deploy).
53+
If you haven't already, take the time to read through the [Akash deployment documentation](https://docs.akash.network/guides/deploy) and familiarize yourself with the concepts and steps involved.
5854

59-
You can deploy to Akash using the **standard Akash CLI** directly [https://docs.akash.network/guides/install](https://docs.akash.network/guides/install) but for the purpose of this guide, I am using **tombeynon's Akash Deploy UI** [https://github.com/tombeynon/akash-deploy](https://github.com/tombeynon/akash-deploy) which is a great tool built on top of the standard CLI. Steps for deploying to Akash using this tool are below.
55+
You can deploy to Akash using the [standard Akash CLI ](https://docs.akash.network/guides/cli)directly but for the purpose of this guide, I am using [Tom Beynon's Akash Deploy UI](https://github.com/tombeynon/akash-deploy) which is a great tool built on top of the standard CLI. Steps for deploying to Akash using this tool are below.
6056

6157
1. Start the **Akash Deploy UI** tool by running the following:
6258

@@ -77,7 +73,7 @@ You can deploy to Akash using the **standard Akash CLI** directly [https://docs.
7773
7874
Deployment of the front-end to Skynet is **handled automatically** in this repository, using **GitHub Actions**. When any update to the `application/frontend/` directory is pushed to the _master_ branch, the Action workflow will be run automatically by GitHub. This [workflow](https://github.com/bcfus/unstoppable-stack/blob/master/.github/workflows/frontend.yml) tests, builds, and deploys the static files to **Skynet**.
7975
80-
This GitHub workflow is based on the excellent write-up by **Karol Wypchło** [https://blog.sia.tech/automated-deployments-on-skynet-28d2f32f6ca1](https://blog.sia.tech/automated-deployments-on-skynet-28d2f32f6ca1) and uses his pre-built Skynet deploy Action.
76+
This GitHub workflow is based on the excellent [write-up by Karol Wypchło ](https://blog.sia.tech/automated-deployments-on-skynet-28d2f32f6ca1)and uses his pre-built Skynet deploy Action.
8177
8278
The result of this GitHub Action is a **Skynet registry entry** that provides a constant point of reference for your DNS record. The **Skylink** itself changes with each deployment to Skynet and would require you to constantly update your DNS record if referencing it directly.
8379
@@ -91,7 +87,7 @@ If using **Namebase**, you can now configure your Handshake domain to point to y
9187
9288
This **initial DNS configuration can take up to \~6 hours to be synced**. For all future code changes pushed to the _master_ branch, the _Deploy to Skynet_ Action will automatically update your Skynet Registry data and you should see the changes reflected very quickly.
9389
94-
**Once the DNS change takes effect**, your site will be accessible at `https://.hns.siasky.net`. For example, the demo application for this guide is accessible at [https://unstoppable-stack.hns.siasky.net/](https://unstoppable-stack.hns.siasky.net)
90+
**Once the DNS change takes effect**, your site will be accessible at `https://.hns.siasky.net`. For example, the demo application for this guide is accessible [here](https://unstoppable-stack.hns.siasky.net).
9591
9692
### Step 6 - Setup HTTPS URL for API
9793
@@ -238,12 +234,11 @@ You can now **visit** [**http://localhost:3000**](http://localhost:3000) in the
238234
239235
**Akash**
240236
241-
* Akash deployment documentation [https://docs.akash.network/guides/deploy](https://docs.akash.network/guides/deploy)
242-
* Akash multi-tier SDL guide [https://github.com/ovrclk/docs/blob/master/guides/multi-tier-app.md](../guides/multi-tier-app.md)
243-
* SDL examples [https://github.com/ovrclk/awesome-akash](https://github.com/ovrclk/awesome-akash)
244-
* In-depth walkthrough guide [https://medium.com/coinmonks/guide-to-deploying-applications-to-akash-decloud-b35dc97e5ca4](https://medium.com/coinmonks/guide-to-deploying-applications-to-akash-decloud-b35dc97e5ca4)
245-
* Akash Discord [http://discord.akash.network/](http://discord.akash.network)
237+
* [Akash deployment documentation](https://docs.akash.network/guides/deploy)
238+
* [SDL examples](https://github.com/ovrclk/awesome-akash)
239+
* [In-depth walkthrough guide](https://medium.com/coinmonks/guide-to-deploying-applications-to-akash-decloud-b35dc97e5ca4)
240+
* [Akash Discord](https://discord.com/invite/DxftX67)
246241
247242
**Skynet**
248243
249-
* Detailed Skynet deployment guide [https://blog.sia.tech/automated-deployments-on-skynet-28d2f32f6ca1](https://blog.sia.tech/automated-deployments-on-skynet-28d2f32f6ca1)
244+
* [Detailed Skynet deployment guide](https://blog.sia.tech/automated-deployments-on-skynet-28d2f32f6ca1)

0 commit comments

Comments
 (0)