Deployed as: https://geocodes.earthcube.org
master branch here is deployed as https://geocodes.geocodes-aws-dev.earthcube.org/
There are two portions, a node server for services, and a vue client.
ports: node: 3000 vue: 5413
Generally, run server, run client.
in client/public/config there are configuration files. If you add one, it need to be added to client/public/config.yaml
To select a config file, you use the environment variable:
VITE_APP_FACETS_CONFIG_FILE=config/config_dev.yaml
in server/config/services.js environment variables set the configuration. these need to be set: env.minimal.example S3ADDRESS="oss.geocodes-aws.earthcube.org" S3KEY= S3SECRET= BUCKET='test'
The others have basic defaults. env.full.example
cd server
yarn install
yarn dev
cd client
cd client
yarn install
yarn dev
yarn install
yarn dev
yarn build
yarn lint
yarn install
yarn dev
yarn install
yarn dev
yarn build
yarn build
yarn lint
A docker-compose file is included docker-compose_dev.yaml The geocodes repository has the latest docker-compose file