GithubHelp home page GithubHelp logo

isabella232 / bcd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from baking-bad/bcd

0.0 0.0 0.0 5.73 MB

Better Call Dev frontend —Tezos smart contract explorer and developer dashboard

Home Page: https://test.better-call.dev

License: MIT License

JavaScript 12.81% HTML 1.00% Vue 86.03% Makefile 0.10% Dockerfile 0.06%

bcd's Introduction

Better Call Dev

Build Status Docker Build Status Made With: Vue.js License: MIT

BCD is:

Versioning

BCD uses the same X.Y.Z scheme as BCDHub (see https://github.com/baking-bad/bcdhub#versioning)

Configuration

Build-time .env.* files

  • NODE_ENV production for production env, development otherwise
  • BASE_URL set to https://better-call.dev/ for production
  • VUE_APP_CONFIG_PATH path to the runtime config file (stored in public)

Runtime config.json

Reloaded each time you press F5 in the browser.

Required fields

  • API_URI base URL for BCDHub API, e.g. https://api.better-call.dev/v1/
  • WS_URI WebSocket endpoint, e.g. wss://api.better-call.dev/v1/ws
  • GA_ENABLED enable Google Analytics
  • MEMPOOL_ENABLED query mempool operations
  • HOME_PAGE redirect to this page unless it's home

Docker image

BCD docker images are being built on dockerhub. Two types of tags are provided:

  • latest should be considered experimental
  • X.Y stable releases

Local build

make image  # latest

Release

Publishing a release is essentially tagging a commit.
IMPORTANT: bump version in package.json for each stable candidate or hotfix.

Latest

Will not be published as a release on GitHub. Docker image will be built though.

make latest

Stable

Takes current version from the package.json. Publishes release file on GitHub and builds a docker image tagged X.Y

make release

Deployment

Production better-call.dev

  • Requires local nginx setup, uses /var/www/bcd folder
  • Uses .env.production and config.production.json configs
  • Command: make deploy

Staging ee.better-call.dev

Development

Install

Requires Node.js 11.4+

git clone https://github.com/baking-bad/bcd.git
cd bcd
npm i

Run

Local API localhost:14000

Staging API ee.better-call.dev

  • Connects to the public API instance
  • Uses .env.ee (frontend) and config.you.yml (backend) configs
  • Command: make ee

Publications

Contact us

About

Project is supported by Tezos Foundation

bcd's People

Contributors

andreasgassmann avatar aopoltorzhicky avatar dependabot[bot] avatar fitblip avatar m-kus avatar romanserikov avatar ungarson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.