Skip to content

Commit

Permalink
Merge pull request #463 from threefoldtech/development_static_website
Browse files Browse the repository at this point in the history
Adding static website docs
  • Loading branch information
ramezsaeed authored Apr 14, 2024
2 parents 6616e7e + 2fe86c5 commit 56202dc
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
- [ownCloud](documentation/dashboard/solutions/owncloud.md)
- [Peertube](documentation/dashboard/solutions/peertube.md)
- [Presearch](documentation/dashboard/solutions/presearch.md)
- [Static Website](documentation/dashboard/solutions/static_website.md)
- [Subsquid](documentation/dashboard/solutions/subsquid.md)
- [Taiga](documentation/dashboard/solutions/taiga.md)
- [Umbrel](documentation/dashboard/solutions/umbrel.md)
Expand Down
1 change: 1 addition & 0 deletions src/documentation/dashboard/deploy/applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Easily deploy your favourite applications on the ThreeFold grid with a click of
- [ownCloud](../solutions/owncloud.md)
- [Peertube](../solutions/peertube.md)
- [Presearch](../solutions/presearch.md)
- [Static Website](../solutions/static_website.md)
- [Subsquid](../solutions/subsquid.md)
- [Taiga](../solutions/taiga.md)
- [Umbrel](../solutions/umbrel.md)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 53 additions & 0 deletions src/documentation/dashboard/solutions/static_website.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<h1> Static Website </h1>

<h2>Table of Contents </h2>

- [Introduction](#introduction)
- [Prerequisites](#prerequisites)
- [Deployment](#deployment)

---

## Introduction

Static Website is an application where a user provides a GitHub repository URL for the files to be automatically served online using Caddy.

## Prerequisites

- Make sure you have a [wallet](../wallet_connector.md)
- From the sidebar click on **Applications**
- Click on **Static Website**

## Deployment

![ ](./img/solutions_staticwebsite.png)

- Enter an instance name

- Enter a GitHub repository URL that needs to be cloned

- Enter the title for the cloned repository

- Select a capacity package:

- **Small**: {cpu: 1, memory: 2 , diskSize: 50 }
- **Medium**: {cpu: 2, memory: 4, diskSize: 100 }
- **Large**: {cpu: 4, memory: 16, diskSize: 250 }
- Or choose a **Custom** plan

- `Dedicated` flag to retrieve only dedicated nodes
- `Certified` flag to retrieve only certified nodes
- Choose the location of the node
- `Region`
- `Country`
- `Farm Name`
- Choose the node to deploy on
- Note: You can select a specific node with manual selection
- `Custom Domain` flag allows the user to use a custom domain
- Choose a gateway node to deploy your static website

Once this is done, you can see a list of all of your deployed instances:

![ ](./img/staticwebsite_list.png)

Click on the button **Visit** under **Actions** to go to your static website!

0 comments on commit 56202dc

Please sign in to comment.