Skip to content

Commit 0e36bc4

Browse files
UI submodule
1 parent 203b4d6 commit 0e36bc4

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[submodule "aleph-node"]
22
path = aleph-node
33
url = [email protected]:bright/aleph-node.git
4+
[submodule "ui"]
5+
path = ui
6+
url = [email protected]:bright/bright-disputes-showcase.git

scripts/deploy.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,16 @@ generate_ink_types() {
221221
log_progress "✅ Ink types were generated"
222222
}
223223

224+
ui_setup() {
225+
cd "${SCRIPT_DIR}"/..
226+
227+
(for v in "OWNER" "OWNER_PUBKEY" "DEFENDANT" "DEFENDANT_PUBKEY" "JUROR_1" "JUROR_1_PUBKEY" "JUROR_2" "JUROR_2_PUBKEY" "JUROR_3" "JUROR_3_PUBKEY" "JUROR_4" "JUROR_4_PUBKEY" "JUROR_5" "JUROR_5_PUBKEY" "JUROR_6" "JUROR_6_PUBKEY" "JUROR_7" "JUROR_7_PUBKEY"; do
228+
echo "$v=${!v}"
229+
done) > ./ui/.env
230+
231+
log_progress "✅ .env file for the showcase app generated"
232+
}
233+
224234
# ------------------------------------------------------------------------------------------------------
225235

226236
deploy() {
@@ -256,6 +266,9 @@ deploy() {
256266
# build cli
257267
build_cli
258268

269+
# showcase app setup
270+
ui_setup
271+
259272
log_progress "🙌 Deployment successful"
260273
}
261274

ui

Submodule ui added at a364d87

0 commit comments

Comments
 (0)