Qortal Project

The future of blockchain platforms

User Tools

Site Tools


Sidebar

Qortal Project Wiki

Important Notices

Introduction

Project Model

Minting

Communications

Trade Portal

Qortal Hosting (QDN)

Voting System

AT System

Hardware

Frequently Asked Questions (FAQ)

How-To Guides

Node Setup Guides

Third-Party Services

how_to_host_your_public_data

This is an old revision of the document!


How To Host Your Public Data

Pulishing Data on QDN

dataPath in settings.json

Mac/Linux To set a location for your data storage on your local computer. For example, setting it to save on an external drive, or anywhere other than the default location:

"dataPath": "/mnt/d/data"

replace this with the specific path on your machine.
To change this setting for Windows see below:

"dataPath": "D:\data"


If you do not change this setting, the default location will be the Qortal folder. On linux and mac that will be the 'qortal/data' folder. Windows that is C:/program files/Qortal/data

Publishing Websites on Qortal


In order to publish a website on Qortal, you must first have a registered name that you wish to use to publish the site, and the website must first be converted to static content. Any website that is written in HTML/CSS/JS will work just fine. (Nothing server-side like php, etc… will function at this point.)
The publishing of a static site on Qortal is VERY SIMPLE, and will become even more simple as time goes on and more development takes place.

Step 1. - build the website. You can use WordPress, or any other existing website builder to build the site, then CONVERT IT, or you can BUILD A STATIC WEBSITE. Either way will work just fine, however we cannot guarantee that the static conversion of EVERY website will work as expected and have complete functionality.

(Things like orders, payment processing, etc… will come later with specific plugins built for that. We will make everyone aware when those plugins are developed.)

To convert your site, there are multiple methods. In WordPress there is a plugin called 'simply static'. This plugin will allow you to convert a WordPress site to static content and download it as a zip that you can then publish on Qortal.

Another program called 'httrack' can be used for Windows/Linux. This program allows you to input the address of an existing site, along with a bunch of potential options, and it will then download the data from the site in static format for you.

On Mac, there is software called 'site sucker' (costs 5 dollars) that does the same thing.

It does NOT matter which software you use, some sites will have better luck with some conversion software more than others. You will have to do your own research and effort in order to convert your site to static content. We can only make suggestions based on what we have used, and give you the overall concepts.


Step 2 - Once your website is converted to static format, you simply have to put it into a folder, and zip it. - We have seen a few people have issues with certain zip softwares, we have personally had success with 7zip (in .zip format) and the default windows archiving software. A few archiving programs create archives in older formats that will not work correctly. So if one archive doesn't work, try archiving it with a different piece of software before going to tech support ;).

With the website in a folder, converted to static content, and zipped, move on to step 3.


Step 3 - Publish the website on Qortal in the websites plugin. Click '+Publish Website', select the name you want to publish to, and browse for your converted site archive. Once that is complete click Publish. Then be patient while the Qortal core does its magic. Everything from that point on takes place automatically as the files are individually hashed, encrypted, and published on QDN.

how_to_host_your_public_data.1642210127.txt.gz · Last modified: 01/14/2022 20:28 by crowetic