Skip to content

tnt-legacy/chainpoint-services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important Notice

This software is deprecated and is no longer supported.

Chainpoint Services

Deprecation Notice JavaScript Style Guide License: AGPL v3

Chainpoint Services is at the Core of the Chainpoint Network and built as a modern microservices architecture. It is intended to be run as the Core of the Chainpoint Network. If you are interested in running a Chainpoint Node, or installing a copy of our command line interface please instead visit:

https://github.com/chainpoint/chainpoint-node

https://github.com/chainpoint/chainpoint-cli

TL;DR

Build and start the whole system locally with make up. Running make help will display additional Makefile commands that are available.

git clone https://github.com/tnt-legacy/chainpoint-services
cd chainpoint-services
make

Getting Started

This repository contains all of the code needed to run the full application stack locally.

To do so you'll only need a functional Docker environment with the docker and docker-compose commands available. In addition you'll need the make utility.

On macOS the easiest way to install Docker is from the official installation package which can be found here.

On Linux systems you may need to install docker-compose separately in addition to Docker.

Setup Environment Variables

You will need to set up environment variables before building.

Running make build-config will copy .env.sample to .env. This file will be used by docker-compose to set required environment variables.

You can modify the .env as needed, any changes will be ignored by Git.

Startup

Running make up should build and start all services for you.

Build

Build for local docker-compose

make build

Build for Google Container Repository

The normal build process for Docker images for production is to simply git push commits which will trigger Google Container Repository (gcr.io) to build and tag those images for use by GKE.

Alternatively, you can manually run test builds without using the triggers.

gcloud config set project chainpoint-registry

# remote build : will build and push to gcr.io, substituting variables present for triggers.
gcloud container builds submit --config cloudbuild.yaml --substitutions=REPO_NAME=delete-me,COMMIT_SHA=deadbeef .

License

GNU Affero General Public License v3.0

Copyright (C) 2018 Tierion

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages