Skip to content

Commit

Permalink
Add Web hosting Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Pivi authored and Pivi committed Jun 27, 2023
1 parent efc97ba commit 4488c56
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 2 deletions.
32 changes: 32 additions & 0 deletions docs/build/wallet/massa-web-hosting.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
id: massa-web-hosting
title: Massa Web Hosting
---

# How to upload a website

Massa Ecosystem 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.

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).

1. Open Massa Station and navigate to: [Massa Station Search Page](https://station.massa/web/search)
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.

![Upload Website Side Panel](./webUpload.png)
![Open Side Panel](./massaSidePanelOpen.png)

Here's the information you need to provide:

1. Wallet: connect it using the drop-down menu
2. Name: A string that follows standard DNS rules, consisting of:
- whole numbers (0-9),
- lowercase letters (a-z),
- underscores (\_),
- dashes (-),
- between 3 and 50 characters long.
3. Description: A string limited to 280 UTF-8 characters.
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.

During the DNS registration, the smart contract will verify that the name you choose is available and not reserved by Massa.

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.
Binary file added docs/build/wallet/massaSidePanelOpen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/build/wallet/webUpload.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ const sidebars = {
},
{
type: "html",
value: "<span class='menu__link'><b><small>Autonomous Smart Contract</small></b></span>"
value:
"<span class='menu__link'><b><small>Autonomous Smart Contract</small></b></span>",
},
{
type: "doc",
Expand Down Expand Up @@ -89,7 +90,7 @@ const sidebars = {
{
type: "doc",
id: "tutorial/trading-bot",
}
},
],
buildSidebar: [
{
Expand Down Expand Up @@ -169,6 +170,10 @@ const sidebars = {
type: "doc",
id: "build/wallet/massa-station",
},
{
type: "doc",
id: "build/wallet/massa-web-hosting",
},
{
type: "doc",
id: "build/wallet/community-wallets",
Expand Down

0 comments on commit 4488c56

Please sign in to comment.