diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..4db0f54 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.multiRootWorkspaceName": "numbus" +} \ No newline at end of file diff --git a/script/deploy.sh b/script/deploy.sh index ce4b4ed..249c4e3 100755 --- a/script/deploy.sh +++ b/script/deploy.sh @@ -331,8 +331,8 @@ SSHEND # --- MAIN WEB FUNCTIONS ---> launch_gui() { - echo -e "\n ➡️ You will now proceed to the configuration of your device through your browser" echo -e "\n 🚀 Launching Numbus Configurator..." + echo -e " ➡️ You will now proceed to the configuration of your device through your browser" python3 "${BRIDGE_SCRIPT}" > /dev/null 2>&1 & export BRIDGE_PID=$! @@ -343,7 +343,7 @@ launch_gui() { sleep 5 - echo -e "\n ➡️ If it doesn't automatically, open your browser at: $(gum style --foreground 212 "${START_URL}")" + echo -e "\n ⚠️ If it doesn't automatically, open your browser at: $(gum style --foreground 212 "${START_URL}")" } # --- MAIN WEB FUNCTIONS ---< @@ -777,9 +777,16 @@ until [[ -e "${LIVE_DATA_FILE}" ]]; do sleep 5 done +INTERNATIONALIZATION_LANGUAGE="$(yq -r '.internationalization.language' ${LIVE_DATA_FILE})" +INTERNATIONALIZATION_COUNTRY="$(yq -r '.internationalization.country' ${LIVE_DATA_FILE})" +INTERNATIONALIZATION_TIMEZONE="$(yq -r '.internationalization.timeZone' ${LIVE_DATA_FILE})" +DEVICE_TYPE="$(yq -r '.device.type' ${LIVE_DATA_FILE})" +DEPLOYMENT_MODE="$(yq -r '.deployment.mode' ${LIVE_DATA_FILE})" +DEPLOYMENT_GIT_URL="$(yq -r '.deployment.git_url' ${LIVE_DATA_FILE})" +DEPLOYMENT_GIT_USERNAME="$(yq -r '.deployment.git_username' ${LIVE_DATA_FILE})" +DEPLOYMENT_GIT_PASSWORD="$(yq -r '.deployment.git_password' ${LIVE_DATA_FILE})" LIVE_TARGET_IP="$(yq -r '.live_target.ip' ${LIVE_DATA_FILE})" LIVE_TARGET_PASSWORD="$(yq -r '.live_target.password' ${LIVE_DATA_FILE})" -DEVICE_TYPE="$(yq -r '.device.type' ${LIVE_DATA_FILE})" hierarchy_preparation setup_ssh diff --git a/web/pages/index.html b/web/pages/index.html index da0b3d0..24cc643 100644 --- a/web/pages/index.html +++ b/web/pages/index.html @@ -27,21 +27,21 @@ -
- Numbus Logo -

Welcome to NUMBUS

-

Transform your device into a secure, reliable and private appliance
using the power of open-soure software.

-

You will be guided through the configuration process.

+
+ Numbus Logo +

Welcome to NUMBUS

+

Transform your device into a reliable and private appliance using the power of open-source software.

+

You will be guided through the configuration process.

-
- - +
+ + -

Privacy First: No data entered here ever leaves your device.
This configurator runs entirely locally in your browser and is fully private. +

Privacy First: No data entered here ever leaves your device.
This configurator runs entirely locally in your browser and is fully private.

- - Get Started + + Get Started