🏄♀️ The Ocean Agent provides a single interface for an Ocean Protocol stack via a REST API to explore, download, and publish open data sets. https://agent.oceanprotocol.com
The API follows the library architecture as specified in the squid library specifications.
The following resources are defined;
While you can develop against Nile or Pacific with remote instances, the default is to run against a locally running Spree network orchestrated with Barge:
git clone [email protected]:oceanprotocol/barge.git
cd barge
# startup with local Spree node
./start_ocean.sh --no-commons
Once Barge is running a Spree network, you can continue in this project:
# populate .env file
cp .env.example .env
# install dependencies
npm install
# will copy artifacts from running barge on spree to local folder
./scripts/keeper.sh
# start live-reloading dev server
npm start
To create a production build, execute:
npm run build
This will create the build output into ./dist. You can then run and serve from this build output with:
npm run serve
...
From a clean master branch you can run any release task doing the following:
package.jsonYou can execute the script using {major|minor|patch} as first argument to bump the version accordingly:
npm run releasenpm run release minornpm run release majorBy creating the Git tag with these tasks, a new Docker Hub build will be triggered.
For the GitHub releases steps a GitHub personal access token, exported as GITHUB_TOKEN is required. Setup
See the CHANGELOG.md file. This file is auto-generated during the above mentioned release process.
Copyright 2019 Ocean Protocol Foundation Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Content type
Image
Digest
Size
376.1 MB
Last updated
almost 7 years ago
docker pull oceanprotocol/agent