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

Add Web hosting Documentation #92

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
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
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.
pivilartisant marked this conversation as resolved.
Show resolved Hide resolved
SlnPons marked this conversation as resolved.
Show resolved Hide resolved

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).
SlnPons marked this conversation as resolved.
Show resolved Hide resolved
pivilartisant marked this conversation as resolved.
Show resolved Hide resolved

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.
pivilartisant marked this conversation as resolved.
Show resolved Hide resolved

During the DNS registration, the smart contract will verify that the name you choose is available and not reserved by Massa.
pivilartisant marked this conversation as resolved.
Show resolved Hide resolved

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
pivilartisant marked this conversation as resolved.
Show resolved Hide resolved
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