2024-09-02 05:59:17 +00:00
|
|
|
# POC FOR HERO WEB
|
2024-08-22 10:09:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
## get started
|
|
|
|
|
2024-09-02 05:59:17 +00:00
|
|
|
Make sure to use the same paths please.
|
|
|
|
|
2024-08-22 10:09:10 +00:00
|
|
|
```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
|
2024-09-02 05:57:47 +00:00
|
|
|
cd ~/code/git.ourworld.tf/freeflowuniverse/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
|
|
|
```
|
|
|
|
|
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
|
2024-09-02 05:57:47 +00:00
|
|
|
```
|
2024-09-02 05:49:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 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
|