auth0/ethereum-docker-deployment

Name: ethereum-docker-deployment

Owner: Auth0

Description: Deployment scripts and docker files

Created: 2017-03-10 13:19:14.0

Updated: 2018-01-16 08:46:45.0

Pushed: 2017-05-19 07:31:20.0

Homepage: null

Size: 13

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Auth0 remote Ethereum authentication project deployment

The purpose of this project is to hold the Docker configuration required to deploy the entire Auth0 project with few commands easily.

Main project deployment

First, clone the project. The cd into it. Then run the following command

one.sh

Put the private keys and certificcates in the keys directory

This script will checkout all the required projects to the 'staging' directory. It may prompt your for your password.

ild.sh

This script will build the npm dependencies docker image along with all the other defined in docker-compose.yml. It will take some time.

Mapper contract Use version compiled on the testnet (Ropsten) with address ? 0xf01f9d549b92e61079caad748471b0864e88e30f

Compile your own contract: Go to https://ethereum.github.io/browser-solidity/ Copy the contracts click to create button to both contracts wait to have the address

Replace the following placeholders in docker-compose.yml:

Run the following script to boot an ethereum testnet node:

artEthereum.sh

Wait till it syncs up with the testnet, so wait till you see this message: “Fast sync complete, auto disabling”

If you already have a synchronized ethereum container rename it to 'go-ethereum' and open the port 8545

Run the following script to boot everything else:

art.sh

After everything starts properly run the script:

itialize.sh

You are set!

Frontend will be available at url http://ip:3001/authzero Wallet will be available at url http://ip:3002/wallet

Remember to change the server ip in the firebase console before using the mobile app!


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.