smashing handy open source dashboard trial

smashing a convenient dashboard tool, it is a version on Shopify / dashing maintained because the original official team does not maintain a
smashing easy to use, provides a scaffolding at the same time there are a lot of people have developed some plug-ins can be easily integrated into the inside, such as GitHub, gitlab
JIRA, Jenkins.
Here is a brief trial, the trial docker building

Preparing the Environment

  • docker-compose documents
version: "3"
services: 
    dash:
      build: ./
      ports: 
      - "3030:3030"
      image: dalongrong/smashing-demo
    smashing:
       build: 
        context: ./
        dockerfile: Dockerfile-base
       image: dalongrong/smashing
  • smashing the base image
FROM ruby:2.6-stretch
LABEL AUTHOR="dalongrong"
LABEL EMAIL="[email protected]"
WORKDIR /app
RUN apt-get update \
  && apt-get install -y nodejs \
  && rm -rf /var/cache/apt/
RUN gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ \
   && gem install smashing

Create a simple project

  • Scaffolding installation tool
gem install smashing
  • Simple demo
smashing new my-project
  • Delete tiwter project dependencies and job
  • docker run Integration
FROM dalongrong/smashing
COPY . /app
RUN bundle
EXPOSE 3030
ENTRYPOINT [ "smashing","start" ] smashing new my-project

Start && test

  • Construction of the base image
docker -compose build smashing
  • Start demo applications
docker-compose  up -d dash
  • effect

Open http: // localhost: 3030

 

Explanation

smashing the base image I have a push docker hub

Reference material

https://github.com/Shopify/dashing
https://github.com/rongfengliang/smashing-docker
https://github.com/Smashing/smashing

Guess you like

Origin www.cnblogs.com/rongfengliang/p/11387841.html