The International Trade Administration’s (ITA) Thesaurus of International Trade Terms is a controlled and structured list of words and phrases used to tag and index information found on the ITA’s websites and databases. The thesaurus covers all subjects related to international trade and foreign investment with particular emphasis on exporting, trade promotion, market access and enforcement and compliance.
The thesaurus is structured into four domains or micro-thesauri:
- Trade Topics
- Industries
- Geographic Locations
- U.S. Government (U.S. Trade Initiatives)
The thesaurus was developed by ITA’s staff of international trade specialists, consulting several authoritative sources and vocabularies covering the language of international trade and investment.
- Install Node.js (this app was developed with LTS v8.16.0).
- Install dependencies with
npm install
. - Then,
npm run start
launches the app in development mode, with changes viewable at http://localhost:3000.- The page will reload if you make edits.
- You will also see any lint errors in the console.
- The page will reload if you make edits.
In one terminal tab, launch server with npm run start
.
In another terminal tab, launch tests with npm run test
.
Expect the suite to pass within 10 seconds (depending on network speed).
npm run build && npm run deploy
- This project was bootstrapped with Create React App, and has been ejected to enable customization of webpack.
- Two polyfill packages are implemented to support IE11:
react-app-polyfill/ie11
, andbabel-polyfill
. They must be imported in that order insrc/index.js
. Eventually, if IE11 support is no longer required, those two import statements (and thebabel-polyfill
npm package) can be safely removed.
Prerequisites
- Azure CLI https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest
- Docker CLI https://docs.docker.com/engine/reference/commandline/cli/
- KUBECTL CLI (if deploying to AKS) https://kubernetes.io/docs/tasks/tools/install-kubectl/
- Azure Subscription
- Azure Container Registry (ACR)
- Azure Kubernetes Service (AKS)
- A DNS Zone has been configured with a sub-domain that points to an ingress controller in AKS
- An AKS Ingess Controller with TLS
- Additional documentation: https://docs.microsoft.com/en-us/azure/aks/ingress-static-ip
- Log in with the Azure CLI:
az login
- Select the appropriate Subscription. Ex:
az account set --subscription "Sample_Subscription"
- Get credentials. Ex:
az aks get-credentials --resource-group my-resources --name myAKS --overwrite-existing
- Rename
kube-config-template.yml
tokube-config.yml
and update it with the following: - image locations - namespace for each section - host names in the Ingress section - Update
deploy-aks.sh
with the appropriate Azure Container Registry and Azure Container Key - Execute
deploy-aks.sh
- For Azure DevOps pipeline configuration, update:
azure-pipelines.yml
The application will be available at the following URL: [http://ip-dns-name.location.cloudapp.azure.com] The location in the URL will be the location of the Kubernetes cluster. Ex: eastus, centralus, etc...