earthcube / facetsearch

This is the main code base for the EarthCube GeoCODES search interface. Issues with UI operation should be posted in the issue tracker here.
3 stars 2 forks source link
dataset-search geoscience

facetsearch

this repo currently supports https://alpha.geocodes.earthcube.org/ this will become beta...

master branch here is deployed as https://dev.geocodes.earthcube.org/

Overall

There are two portions, a node server for services, and a vue client.

ports: node: 3000 vue: 5413

Generally, run server, run client.

Quick Instructions:

Terminal 1 server:

cd server
yarn install
yarn dev 

Terminal 2 client:

cd client

client

cd client
yarn install
yarn dev

Project setup

yarn install

Compiles and hot-reloads for development

yarn dev

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

configuration

in client/src/config there are configurationfiles If you add one, it need to be added to client/src/config.json

Customize configuration

See Configuration Reference.

server

yarn install
yarn dev

Project setup

yarn install

Compiles and hot-reloads for development

yarn dev

Compiles and minifies for production

yarn build

run for production

yarn build

Lints and fixes files

yarn lint

Docker

If all you want to do is test, then a 'dockerized' component is available in docker. docker-compose up -d -f docker-compose_dev.yaml

For using with a stack and traefik, docker-compose_prod_example.yaml