55 lines
1.1 KiB
Markdown
55 lines
1.1 KiB
Markdown
# POC FOR HERO WEB
|
|
|
|
|
|
## get started
|
|
|
|
### with hero
|
|
|
|
```bash
|
|
hero git pull -u https://git.ourworld.tf/freeflowuniverse/heroweb
|
|
cd ~/code/git.ourworld.tf/freeflowuniverse/heroweb
|
|
source myenv.sh
|
|
bash install.sh
|
|
|
|
```
|
|
|
|
### without hero
|
|
|
|
Make sure to use the same paths please.
|
|
|
|
```bash
|
|
mkdir -p ~/code/git.ourworld.tf/freeflowuniverse
|
|
cd ~/code/git.ourworld.tf/freeflowuniverse
|
|
git clone git@git.ourworld.tf:freeflowuniverse/heroweb.git
|
|
cd ~/code/git.ourworld.tf/freeflowuniverse/heroweb
|
|
source myenv.sh
|
|
bash install.sh
|
|
```
|
|
|
|
## to work with poc website
|
|
|
|
```bash
|
|
#not needed to do, has already been done before, this takes a template and put in right format so we can further experiment with it
|
|
#python ~/code/git.ourworld.tf/freeflowuniverse/heroweb/poc/template_fixer.py
|
|
#run the poc server, this one needs tom be extended
|
|
python ~/code/git.ourworld.tf/freeflowuniverse/heroweb/poc/server.py
|
|
```
|
|
|
|
## svelte
|
|
|
|
```bash
|
|
|
|
```
|
|
|
|
|
|
|
|
## remarks
|
|
|
|
### if you need jq, start the jq dashboard
|
|
|
|
bash start_workers.sh
|
|
|
|
## to add package to pip
|
|
|
|
add it to https://git.ourworld.tf/projectmycelium/hero_server/src/branch/main/requirements.txt
|