Front-End website for BLURT

Here’s how to setup a front-end website for BLURT blockchain. I have the following server specification for BLURT front-end.

  • Ubuntu 20.x
  • 2 vCPU
  • 2 GB RAM
  • 50 GB Hard disk

We need git to download the condenser. Here’s how to install git for Ubuntu operating system.

sudo apt update
sudo apt upgrade
sudo timedatectl set-timezone America/New_York
sudo apt-get install screen
sudo apt install git
git –version

Let’s download the open source condenser.

git clone https://gitlab.com/blurt/openblurt/condenser
cd condenser
mkdir tmp

I’ve use the Installing Using NVM guide from this website. Just follow the steps.
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-18-04

curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.35.3/install.sh -o install_nvm.sh
bash install_nvm.sh
source ~/.profile
nvm ls-remote
nvm install 14.7.0
nvm use 14.7.0
node -v

Let’s the fun begin.

Install Iptables so we can use redirect to port 80.
sudo apt-get install iptables

npm install -g yarn
yarn global add babel-cli
yarn install –frozen-lockfile or yarn install
yarn run build
yarn run production

Redirect port 8080 to 80, and set DNS to always on SSL (443)
sudo iptables -A PREROUTING -t nat -p tcp –dport 80 -j REDIRECT –to-ports 8080

edit /config/default.json add your entry for session secret, cookie, session key, and site domain.

“server_session_secret”: ” “,
“session_cookie_key”: ” “,
“session_key”: ” “,
“site_domain”: “blurtworld.com”,

Point to your full node ex. rpc.blurtworld.com
“upload_image”: “https://images.blurt.blog/”,
“blurtd_connection_client”: “https://rpc.blurt.world”,
“blurtd_connection_server”: “https://rpc.blurt.world”,

Edit search.html for Google search code.
/condenser/src/app/assets/static/search.html

And test your website.
Production is https://blurtworld.com website. Load balance service with multiple websites and multiple RPC nodes. No websites or nodes single point of failure.

Support @QUE.COM

Founder, QUE.COM Internet Media. | Founder, Yehey.com a Shout for Joy! | MAJ.COM Management of Assets and Joint Venture.. More at KING.NET Ideas to Life.

Leave a Reply