www_projectmycelium_io/README.md
2024-11-10 16:50:35 -05:00

1.2 KiB

ThreeFold V4 Website

Table of Contents


Introduction

We present the new minimalist version of the ThreeFold V4 website.

Install the Website

Run the following lines to install the website:

hero git clone -u git@git.ourworld.tf:tfgrid/www_threefold4.git
~/code/git.ourworld.tf/tfgrid/www_threefold4/install.sh

Start the Website

Run the following line to start the website:

~/code/git.ourworld.tf/tfgrid/www_threefold4/start.sh

With Hero Docker (Optional)

You can use Hero Docker instead of a local installation. Simply run this before doing the installation and start steps.

docker pull logismosis/hero:latest
docker run -it --net=host --name=hero-container -v ~/code:/root/code logismosis/hero:latest

Deploy Locally Without Hero

You can deploy the website locally without Hero with the following lines:

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cd poc
python server.py