Installation
covalent-data can be installed with Go, npm, Docker, or Covalent-Quickstart.
Go
First, install Go.
Then, clone the source repo into $GOROOT/src
.
git clone https://github.com/Teradata/covalent-data.git $GOROOT/src/covalent-data
You can then run the CLI directly from the directory:
cd $GOROOT/src/covalent-data
go run server.go
Alternatively, you can compile a static binary and run that:
cd $GOROOT/src/covalent-data
go build -o covalent-data
./covalent-data
(Pro-tip: go has cross-compilation built in to go 1.5 and above!):
cd $GOROOT/src/covalent-data
GOOS=windows go build -o covalent-data.exe
npm
covalent-data is listed in the npm registry and can be added to your package.json or run independently as a CLI tool.
npm install @covalent/data -g
covalent-data
Docker
Install docker engine.
Clone the source repo.
git clone https://github.com/Teradata/covalent-data.git covalent-data
Build the docker image:
cd covalent-data
docker build -t covalent-data .
Run the docker image:
docker run -p 8080:8080 --name covalent-data covalent-data
Covalent-Quickstart
Clone the covalent-quickstart repo.
git clone https://github.com/Teradata/covalent-quickstart.git covalent-quickstart
Install covalent-quickstart:
cd covalent-quickstart
npm install
Start covalent-data:
npm run start-api
Covalent-data will run as a background process. In order to stop covalent-data, execute
npm run stop-api