Coder Social home page Coder Social logo

qtieng / dashboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from radar-base/radar-dashboard

0.0 0.0 0.0 3.81 MB

Dashboard for RADAR-CNS

Home Page: https://radar-cns.org/

License: Apache License 2.0

Shell 0.98% TypeScript 87.28% JavaScript 1.73% CSS 6.21% HTML 3.80%

dashboard's Introduction

RADAR-CNS Frontend Dashboard App

Build Status bitHound Dependencies bitHound Dev Dependencies Coverage Status

An Angular and D3 web application to manage and monitor research data from the RADAR-CNS Platform.

Install

Install Node.js and NPM.

We use angular-cli so you can use all of it's commands, like the generator. Please read its documentation for further information.

If want to use angular-cli's commands you need to install it globally:

$ npm i -g @angular/cli

In the project folder install npm dependencies:

$ npm i

To run the application use:

$ npm start

Guidelines

For Typescript and Angular we loosely follow the Angular Style Guide and we use TSLint and Codelyzer to check these guidelines.

For SCSS we use StyleLint, StyleFmt and PostCSS Sorting to format and lint the code.

Use the following command after you make changes to the SCSS and before a PR to run stylefmt and postcss-sorting and format the code.

$ npm run fix:css

Contributing

Read /docs/CONTRIBUTING.md

Code of Conduct

Read /docs/CODE_OF_CONDUCT.md

Docker

Create docker image:

$ docker build -t radarcns/radar-dashboard ./

Or pull from dockerhub:

$ docker pull radarcns/radar-dashboard:latest 

Run docker image locally:

$ docker run -d -p 3030:80 --name radar-dashboard radarcns/radar-dashboard:latest

The dashboard will be running at http://localhost:3030

Docker environment parameters

The environment parameters are set in docker run so they can be overridden by docker-compose. More information in https://docs.docker.com.

Change BASE_HREF if the application is running under a subfolder, e.g., https://radar-cns.org/dashboard

BASE_HREF='/dashboard/'

Change API_URI to set the API endpoint of the application

API_URI='https://radar-cns.ddns.net/api'

Supporting Partners

We thank our supporting partners who have been a tremendous help in streamlining our development process.

Browserstack_logo

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.