Mercurial
comparison hg-web/deploy.sh @ 105:4de2fb74ce82
Adding few comments for future.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Sat, 03 Jan 2026 10:28:54 -0800 |
| parents | 2301aeb7503b |
| children |
comparison
equal
deleted
inserted
replaced
| 104:2301aeb7503b | 105:4de2fb74ce82 |
|---|---|
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # sudo groupadd zenbu_team -- already added | |
| 3 # sudo useradd -r -s /usr/sbin/nologin -G zenbu_team hg_web_server | |
| 2 bazel build -c opt //hg-web:hg_web_server_bundle | 4 bazel build -c opt //hg-web:hg_web_server_bundle |
| 3 | 5 |
| 4 # Create | 6 # Create |
| 5 sudo cp -a bazel-bin/hg-web/hg_web_server_bundle /opt/hg_web_server_bundle_new | 7 sudo cp -a bazel-bin/hg-web/hg_web_server_bundle /opt/hg_web_server_bundle_new |
| 6 sudo chown -R hg_web_server:zenbu_team /opt/hg_web_server_bundle_new | 8 sudo chown -R hg_web_server:zenbu_team /opt/hg_web_server_bundle_new |