If you are running ConnectedVCS Tools using a docker image, you can use the following instructions:
NOTE: Bing Maps is now deprecated and new users are no longer allowed to create API keys. We will be migrating to a different map provider and updating this documentation soon.
ConnectedVCS Tools has been developed using Ubuntu 20.04 and Ubuntu 22.04. Further testing with other operating systems is needed before guidance is created. For the moment, please use Ubuntu 20.04 or later Ubuntu LTS Release.
Instructions for installing Docker may change, so please use the current instructions at the Docker website: https://docs.docker.com/desktop/install/linux-install/.
- Clone the ConnectedVCS Tools respository:
git clone https://github.com/usdot-fhwa-stol/connectedvcs-tools.git
-
To generate API keys required for the MAP Tool, first create user accounts with Google Maps Platform, Esri ArcGIS Location Platform, Azure Maps Platform.
-
Generate new API Keys for Google Maps, Esri, and Azure. Use the Google Maps Platform, Esri ArcGIS Location Platform, Azure Maps Platform.
- Please read the Google Maps API Key Guidance.
- Please read the Esri Maps API Key Guidance
- Please read the Azure Maps API Key Guidance
- Please read the S3 Bucket Configuration.
-
Enter your keys into the application.properties file (within "google.map.api.key", "azure.map.api.key", and "esri.map.api.key").
-
Using SSL vs not using SSL:
- If using SSL certificates, you may look up instructions to generate a keystore and SSL certficiates with your certificate authority (CA) of choice. In this case, the ssl.ini and keystore files will need to be updated or replaced to copy your applicable keystore information to the image. NOTE: The current ssl.ini and keystore files are examples only. Please update or replace before running the following command.
sudo docker build -t usdotfhwastol/connectedvcs-tools:<tag> --build-arg USE_SSL=true .- If running the tool without certificates, no changes are needed. Run the following command.
sudo docker build -t usdotfhwastol/connectedvcs-tools:<tag> --build-arg USE_SSL=false .
sudo docker run -d -p 443:443 usdotfhwastol/connectedvcs-tools:<tag>
sudo docker run -d -p 8080:8080 usdotfhwastol/connectedvcs-tools:<tag>
- In your browser, navigate to:
- with SSL: https://127.0.0.1:443/
- without SSL: http://127.0.0.1:8080/