Skip to content

Commit f7b7bea

Browse files
PiviPivi
Pivi
authored and
Pivi
committed
Add Web hosting Documentation
1 parent efc97ba commit f7b7bea

File tree

4 files changed

+39
-2
lines changed

4 files changed

+39
-2
lines changed

Diff for: docs/build/wallet/massa-web-hosting.mdx

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
id: massa-web-hosting
3+
title: Massa Web Hosting
4+
---
5+
6+
# How to upload a website
7+
8+
Massa Web Hosting Solution is a product that allows users to participate, store, and navigate content on the Massa blockchain. This guided is dedicated to getting you started with this technology. Please note that we currently support static websites built with front end technologies like CSS, HTML & ES6 Javascript.
9+
10+
To get started, you need to install Massa Station on your machine by following the installation guide provided at this link: [Massa Station Installation Guide](https://github.com/massalabs/station/blob/main/INSTALLATION.md).
11+
12+
1. Open Massa Station and navigate to: [Massa Station Search Page](https://station.massa/web/search)
13+
2. On the left side of the page, you will find a side panel that contains the steps to upload a website to the Massa blockchain.
14+
15+
![Upload Website Side Panel](./webUpload.png)
16+
![Open Side Panel](./massaSidePanelOpen.png)
17+
18+
Here's the information you need to provide:
19+
20+
1. Wallet: connect it using the drop-down menu
21+
2. Name: A string that follows standard DNS rules, consisting of:
22+
- whole numbers (0-9),
23+
- lowercase letters (a-z),
24+
- underscores (\_),
25+
- dashes (-),
26+
- between 3 and 50 characters long.
27+
3. Description: A string limited to 280 UTF-8 characters.
28+
4. Zip file: A .zip file that contains a index.html file located at the root of the folder. The file must not exceed 1.5 Mo.
29+
30+
During the DNS registration, the smart contract will verify that the name you choose is available and not reserved by Massa.
31+
32+
With each upload, there are associated costs to storing and hosting the files, you will be able to find more information in the official Massa Labs documentation located here : [Massa Storage Costs](https://docs.massa.net/en/latest/technical-doc/storage-costs.html). It will cost approximately 375 Massa coins for a website of 1.5 Mo.

Diff for: docs/build/wallet/massaSidePanelOpen.png

229 KB
Loading

Diff for: docs/build/wallet/webUpload.png

131 KB
Loading

Diff for: sidebars.js

+7-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ const sidebars = {
5757
},
5858
{
5959
type: "html",
60-
value: "<span class='menu__link'><b><small>Autonomous Smart Contract</small></b></span>"
60+
value:
61+
"<span class='menu__link'><b><small>Autonomous Smart Contract</small></b></span>",
6162
},
6263
{
6364
type: "doc",
@@ -89,7 +90,7 @@ const sidebars = {
8990
{
9091
type: "doc",
9192
id: "tutorial/trading-bot",
92-
}
93+
},
9394
],
9495
buildSidebar: [
9596
{
@@ -169,6 +170,10 @@ const sidebars = {
169170
type: "doc",
170171
id: "build/wallet/massa-station",
171172
},
173+
{
174+
type: "doc",
175+
id: "build/wallet/massa-web-hosting",
176+
},
172177
{
173178
type: "doc",
174179
id: "build/wallet/community-wallets",

0 commit comments

Comments
 (0)