Skip to content

bingoko/public_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 14, 2017
85a139f · Jun 14, 2017
Jun 12, 2017
Jun 14, 2017
Apr 14, 2017
Mar 20, 2017
Sep 14, 2016
Oct 25, 2016
Jun 11, 2017
Jun 12, 2017
Jun 11, 2017
Jun 11, 2017
Sep 14, 2016
Jun 12, 2017

Repository files navigation

Cache

Installation

  • apt-get update
  • apt-get -y install software-properties-common curl build-essential nload vnstat python
  • apt-get -y install git nginx
  • apt-get -y install build-essential libssl-dev
  • curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh
  • bash install_nvm.sh
  • nvm install 8.1.0
  • npm install -g pm2
  • Copy docker/config/nginx.conf into /etc/nginx/nginx.conf
  • Copy docker/sites-enabled/default_cache into /etc/nginx/sites-enabled/default
  • Copy SSL certificates (fullcert.pem and privkey.pem) into /certs

Git

  • cd ~ && git clone --recursive https://github.com/etherdelta/public_api.git
  • cd ~/public_api && npm install
  • To update: sh pull.sh and npm install

Start

  • cd ~ && pm2 start cache.js

Monitor

  • pm2 list, pm2 log

API-main

Installation

  • wget http://d1h4xl4cr1h0mo.cloudfront.net/v1.6.8/x86_64-unknown-linux-gnu/parity_1.6.8_amd64.deb
  • dpkg -i parity_1.6.8_amd64.deb
  • apt-get update
  • apt-get -y install software-properties-common curl build-essential nload vnstat python
  • apt-get -y install git nginx
  • apt-get -y install build-essential libssl-dev
  • curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh -o install_nvm.sh
  • bash install_nvm.sh
  • nvm install 8.1.0
  • npm install -g pm2
  • Copy docker/config/nginx.conf into /etc/nginx/nginx.conf
  • Copy docker/sites-enabled/default into /etc/nginx/sites-enabled/default
  • Copy SSL certificates (fullcert.pem and privkey.pem) into /certs

Git

  • cd ~ && git clone --recursive https://github.com/etherdelta/public_api.git
  • cd ~/public_api && npm install
  • cd ~/public_api/etherdelta.github.io && npm install
  • cd ~/public_api/etherdelta.github.io/common && npm install
  • To update: sh pull.sh and npm install

Start

  • parity daemon ~/parity.pid
  • cd ~ && pm2 start server.js

Monitor

  • pm2 list, pm2 log

About

EtherDelta public API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published