Coder Social home page Coder Social logo

mutalisk999 / penguin_dashboard_bsc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from penguintop/penguin_dashboard_bsc

0.0 2.0 0.0 1.92 MB

The dashboard for BSC

License: BSD 3-Clause "New" or "Revised" License

JavaScript 0.25% TypeScript 98.60% CSS 0.46% HTML 0.62% Dockerfile 0.07%

penguin_dashboard_bsc's Introduction

Pen Dashboard

standard-readme compliant js-standard-style

An app which helps users to setup their Pen node and do actions like cash out cheques, upload and download files or manage your postage stamps.

Warning: This project is in alpha state. There might (and most probably will) be changes in the future to its API and working. Also, no guarantees can be made about its stability, efficiency, and security at this stage.

Table of Contents

Install

Install globally with npm. We require Node.js's version of at least 12.x and npm v6.x (or yarn v2.x).

git clone [email protected]:penguintop/pen-dashboard.git

cd pen-dashboard

yarn install

Deploy

Add to nginx configure

location / {
        # First attempt to serve request as file, then
        # as directory, then fall back to displaying a 404.

        try_files $uri $uri/ =404;
}

location /files {
        try_files $uri / =200;
}

location /stamps {
        try_files $uri / =200;
}

location /accounting {
        try_files $uri / =200;
}

location /peers {
        try_files $uri / =200;
}

location /settings {
        try_files $uri / =200;
}

Usage

โš ๏ธ To successfully connect to the Pen node, you will need to enable the Debug API and CORS. You can do so by setting cors-allowed-origins: ['*'] and debug-api-enable: true in the Pen config file and then restart the Pen node. To see where the config file is, consult the [official Pen documentation]

Terminal

To start use:

pen-dashboard

This should open the webpage on http://localhost:8080

Docker

To build Docker image and run it, execute the following from inside project directory:

docker build . -t pen-dashboard
docker run --rm -p 127.0.0.1:8080:8080 pen-dashboard

Pen dashboard is now available on http://localhost:8080

Development

git clone [email protected]:penguintop/pen-dashboard.git

cd pen-dashboard

yarn install

The Pen Dashboard runs in development mode on http://localhost:3031/

Contribute

There are some ways you can make this module better:

  • Consult our open issues and take on one of them
  • Help our tests reach 100% coverage!

License

BSD-3-Clause

penguin_dashboard_bsc's People

Contributors

justinbieber233 avatar

Watchers

James Cloos avatar  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.