www_projectmycelium_io/README.md

53 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2024-11-11 21:51:23 +00:00
<h1> Project Mycelium Website </h1>
2024-11-08 15:24:29 +00:00
2024-11-08 17:11:03 +00:00
<h2>Table of Contents</h2>
2024-11-08 16:45:52 +00:00
2024-11-08 17:11:03 +00:00
- [Introduction](#introduction)
2024-11-08 17:20:05 +00:00
- [Install the Website](#install-the-website)
2024-11-08 17:19:35 +00:00
- [Start the Website](#start-the-website)
- [With Hero Docker (Optional)](#with-hero-docker-optional)
2024-11-10 21:50:35 +00:00
- [Deploy Locally Without Hero](#deploy-locally-without-hero)
2024-11-08 16:45:52 +00:00
2024-11-08 17:11:03 +00:00
---
2024-11-08 16:45:52 +00:00
2024-11-08 17:11:03 +00:00
## Introduction
2024-11-08 16:45:52 +00:00
2024-11-11 21:51:23 +00:00
We present the new minimalist version of the Project Mycelium website.
2024-11-08 17:11:03 +00:00
2024-11-08 17:20:05 +00:00
## Install the Website
2024-11-08 17:19:35 +00:00
Run the following lines to install the website:
```bash
2024-11-11 21:50:24 +00:00
hero git clone -u git@git.ourworld.tf:tfgrid/www_projectmycelium.git
~/code/git.ourworld.tf/tfgrid/www_projectmycelium/install.sh
2024-11-08 17:19:35 +00:00
```
## Start the Website
Run the following line to start the website:
```bash
2024-11-11 21:50:24 +00:00
~/code/git.ourworld.tf/tfgrid/www_projectmycelium/start.sh
2024-11-08 17:19:35 +00:00
```
## 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
2024-11-10 21:50:35 +00:00
```
## 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
```