Skip to content

It's extremely simple to deploy a static site using Heavymeta Press. This allows you to focus on creating quality content.


Video Walkthrough ​


Prerequisites ​

  1. Metavinci
  2. Heavymeta Press
  3. A Pinggy Account

Site Files ​

4733385489629a2006be30ae34eab2be.png

Heavymeta Press only needs markdown files inside of a folder structure to generate a static site. See documentation to understand how to use it fully. For this tutorial, we will use this sample project to demonstrate how easy it is to deploy a site.


Create a Pintheon Access Token ​

Press needs to communicate with your Pintheon node, to facilitate this you must create an access token for the app.

cb396314d460a57c0682408f2d510a88.png

Open Press, Metavinci > Press > Run Press. Navigate to your project folder to open the project.Β  Once Press opens navigate to the Settings, and copy the key from the '25519 Pub' field.

4d142ddd5919dcd4581cef8ddb28a0ef.png

Press the 'Add Access Token' button to create a new Access token.

ea1082e39d8fb07fceca4127cbf6a76a.png

Name the new token, and paste the copied key into the 'Stellar 25519 Public Key' field, press 'Add'.

67cd279ef161fb1a357bb48ef0aee759.png

A new window will pop up with your Access Token.Β  Press the 'Copy' button to copy it.Β  The Access Token only appears when created, and it is not saved.

16f5275248c28e0029cd80e1f8d73ffd.png

Paste the Access Token into the Heavymeta Press 'Deployment Settings', 'Access Token' field.


Set the Gateway URL ​

This tutorial assumes you already have a Pinggy account, and have set your Pinggy Token, and Pinggy Tier in the Metavinci Pintheon settings.

a3dff35b6e99dcd2094c0142f30b6e24.png

Metavinci > Pintheon > Open Tunnel, to open a new tunnel.Β  In this case we are using Pinggys' free tier.

3743afcf6d9085e538f2b78c23eb7656.png

The Pinggy window will pop up, and the public link will be displayed in the terminal. Copy the link address from the terminal window.

68b144c749a593739d6df70149a1ea89.png

Paste the public link from the Pinggy terminal into the Heavymeta Press 'Deployment Settings', 'Gateway URL' field. Make sure there is no extra spaces, or characters pasted into the field.


Deploy the Site ​

3fdd133e9dd1e3bad50eb72b8fea50cf.png

In the Heavymeta Press Menu Bar, choose Deploy > Launch Deploy. The program will first upload all media files in the project '_resources' folder to the Pintheon node, storing the deployed link.Β  After all media has been deployed, the site is rendered using the deployed media links.

ffb6fc2c4174ead71fcab9ef9471a79a.png

On deployment completion, a browser will open to the deployed site. Since we used Pinggy free, the site will have a warning that needs to be clicked through.Β  The warning does not appear if you have a paid Pinggy account.

fc83a318ef2a8eca27c195f138d8a74a.png

Clicking through, you'll see the site is a fully functional multi-page site.

60bea2da8bb5b09cfd315609e45be0ee.png

If you look in your Pintheon node you'll find that all the media files, and the index.html for the site are shown as uploaded to your node.

It's that easy to deploy and self host a fully functional website from your own hardware.

Β 

Β 

Β 

Β 

Β 

Β