heroweb/README.md

39 lines
944 B
Markdown
Raw Normal View History

2024-08-22 10:09:10 +00:00
# hero_server
backend for hero
## get started
```bash
2024-09-02 05:49:17 +00:00
mkdir -p ~/code/git.ourworld.tf/freeflowuniverse
cd ~/code/git.ourworld.tf/freeflowuniverse
git clone git@git.ourworld.tf:freeflowuniverse/heroweb.git
cd heroweb
2024-08-22 10:09:10 +00:00
source myenv.sh
2024-09-02 05:49:17 +00:00
bash install.sh
2024-08-22 10:09:10 +00:00
# to test an example
python ~/code/git.ourworld.tf/projectmycelium/hero_server/examples/osis_example/id_example.py
2024-09-02 05:49:17 +00:00
2024-08-22 10:09:10 +00:00
```
2024-09-02 05:49:17 +00:00
## 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
2024-08-22 10:09:10 +00:00
## to add package to pip
add it to https://git.ourworld.tf/projectmycelium/hero_server/src/branch/main/requirements.txt