Update README.md
This commit is contained in:
parent
01edbb52bf
commit
08db1877ce
31
README.md
31
README.md
@ -4,20 +4,35 @@ backend for hero
|
|||||||
|
|
||||||
## get started
|
## get started
|
||||||
|
|
||||||
- checkout this repo
|
|
||||||
|
|
||||||
## to debug / develop
|
|
||||||
|
|
||||||
```bash
|
```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
|
source myenv.sh
|
||||||
|
bash install.sh
|
||||||
# to test an example
|
# to test an example
|
||||||
python ~/code/git.ourworld.tf/projectmycelium/hero_server/examples/osis_example/id_example.py
|
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
|
## to add package to pip
|
||||||
|
|
||||||
add it to https://git.ourworld.tf/projectmycelium/hero_server/src/branch/main/requirements.txt
|
add it to https://git.ourworld.tf/projectmycelium/hero_server/src/branch/main/requirements.txt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user