0.7.1 • Published 9 years ago
@covalent/data v0.7.1
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
/schemadirectory and the/datumdirectory 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 -gcovalent-data
docker
To run from docker:
- Install Docker Engine.
- Pull down this repo and
cdinto 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 installnpm run start-api(npm run stop-apito stop the API server)ng serveand go to http://localhost:4200