Merge branch 'main' of git.ourworld.tf:freeflowuniverse/heroweb

This commit is contained in:
despiegk 2024-09-02 07:49:34 +02:00
commit 262a4abee8

View File

@ -4,20 +4,35 @@ backend for hero
## get started
- checkout this repo
## to debug / develop
```bash
cd ~/code/git.ourworld.tf/projectmycelium/hero_server
mkdir -p ~/code/git.ourworld.tf/freeflowuniverse
cd ~/code/git.ourworld.tf/freeflowuniverse
git clone git@git.ourworld.tf:freeflowuniverse/heroweb.git
cd heroweb
source myenv.sh
bash install.sh
# to test an example
python ~/code/git.ourworld.tf/projectmycelium/hero_server/examples/osis_example/id_example.py
# if you need jq, start the jq dashboard
bash start_workers.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
## 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