Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding static website docs #463

Merged
merged 2 commits into from
Apr 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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!