Firebird/Developer Guidelines: Difference between revisions

From stonehomewiki
Jump to navigationJump to search
 
Line 18: Line 18:
During development, it is very time consuming to rebuild docker image for streaming application and firebird web console. Here is what I did
During development, it is very time consuming to rebuild docker image for streaming application and firebird web console. Here is what I did


Upload the firebird source code to object storage
Here is what you can do
<pre><nowiki>
(1) Update firebird console code
#!/bin/sh
(2) run bin/dev-upload.sh
rm -f firebird.tar.gz
(3) On firebird console, run ./dev_install.sh to pick up the change
tar -czf firebird.tar.gz \
    --verbose \
    --exclude=.git \
    --exclude=dist \
    --exclude=build \
    --exclude=src/pyfirebird.egg-info \
    --exclude=src/firebirdconsole/node_modules \
    --exclude=*/__pycache__ \
    --exclude=.gitignore \
    -C /home/stonezhong/DATA_DISK/projects/firebird .
 
oci os object put -bn debug --file firebird.tar.gz --force
</nowiki></pre>
 
Then on firebird console, you can do this to update the firebird package
<pre><nowiki>
./dev_install.sh
</nowiki></pre>


To reload firebird web console
To reload firebird web console

Latest revision as of 23:04, 13 September 2023

Kubernete Dashboard

Test Environment

ZooKeeper

Scale