Skip to content

Commit

Permalink
Added documentation for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbourelly999 committed Apr 30, 2024
1 parent bc7d1ff commit 23be0ae
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
42 changes: 42 additions & 0 deletions configuration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## Deployment Configuration
### Introduction
This directory contains deployment configurations for deploying V2X-Hub on both ARM64(arm64) and x86(amd64) architectures.
### Deployment Instructions
Once downloaded, navigate to the directory corresponding to your computer’s processor (1) or (2):
```
cd ~/V2X-Hub/configuration/arm64/
cd ~/V2X-Hub/configuration/amd64/
```
Run the initialization script:
```
./initialization.sh
```
Follow the prompts during installation.

You will be prompted to create a mysql_password and mysql_root_password. You may make the passwords whatever you like, but you will need to remember them.
```
Example: ivp
```
You will also be prompted to create a V2X Hub username and password. You may make these whatever you’d like, but will need to use them to log into the web UI. Example:
```
Username: v2xadmin
Password: V2xHub#321
```
You will then need to enter the mysql_password you created in step 5a:
```
Example: ivp
```
After installation is complete, the script will automatically open a web browser with two tabs.

Navigate to the tab labeled as “Privacy Error” and select the “Advanced” button.

Click on “proceed to 127.0.0.1 (unsafe)”

Note: This page will not do anything when clicking proceed

Close the Privacy Error tab and wait for the initial V2X Hub tab to finish loading

Enter the login credentials you created in step 5b and login.

Installation complete!
1 change: 1 addition & 0 deletions configuration/amd64/initialization.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ else
#remove endline characters from password files
tr -d '\n' <sql_pass.txt> mysql_password.txt && rm sql_pass.txt
fi
# TODO VH-1303 Allow for version and configuration selection in initialization script

#AMD64 initialzation
cd $directory
Expand Down
1 change: 1 addition & 0 deletions configuration/arm64/initialization.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ else
#remove endline characters from password files
tr -d '\n' <sql_pass.txt> mysql_password.txt && rm sql_pass.txt
fi
# TODO VH-1303 Allow for version and configuration selection in initialization script

#ARM initialization
cd $directory
Expand Down

0 comments on commit 23be0ae

Please sign in to comment.