@covalent/data
v0.7.1
Published
A golang based mock data server CLI, for use with Teradata Covalent Quickstart
Downloads
412
Readme
covalent-data
Golang based mock api server
Latest install docs and user guide can be found here.
Getting started
go
To run from source or to create your own executables, you must first install Go.
- Pull down this repository into your $GOROOT src folder
- cd into this repo and
go get
go run server.go
- The
/schema
directory and the/datum
directory must be in the root of this repo.
npm
The covalent-data CLI is available to download as a package in the npm repository.
npm install @covalent/data -g
covalent-data
docker
To run from docker:
- Install Docker Engine.
- Pull down this repo and
cd
into it. docker build -t covalent-data .
docker run -p 8080:8080 --name covalent-data covalent-data
- To stop-
docker stop covalent-data
covalent-quickstart
covalent-data is included in the covalent-quickstart repo.
- Pull down the latest covalent-quickstart repo.
npm install
npm run start-api
(npm run stop-api
to stop the API server)ng serve
and go to http://localhost:4200