GithubHelp home page GithubHelp logo

wtw1994 / deploy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dataworkbench/deploy

0.0 0.0 0.0 76.38 MB

License: Apache License 2.0

Shell 33.17% Dockerfile 24.19% Makefile 19.32% Python 7.84% Mustache 3.11% Smarty 12.38%

deploy's Introduction

Deploy project for DataWorkbench

Develop all service of the data workbench at local that base on docker-compose;

Images

dataworkbench/builder

The base image used to build other images or compile service;

dataworkbench/dataworkbench

The main image to run service with docker-compose;

dataworkbench/flyway

The image used to migrate database; If you update the table struct or data, run make compose-migrate-db to make it works at local develop environment;


Develop Process

Running services of DataWorkbench at local, you need:

pull all services code of DataWorkbench under same directory;

install docker-compose at local;

all command in this section execute under project deploy;

  • pull builder

make update-builder

  • build all images

make build-all

  • Launch dataworkbench services at local

make compose-up

  • check logs of service

make compose-logs-f [service=apiserver,spacemanager]

After all services running, you could write code, then:

run make compose-migrate-db to update the database if needed;

run make update [service=apiserver] to update the service;


add new service

  • add the service to service in Makefile
  • add copy-sentence for default config.yaml in Dockerfile.dev if need
  • add copy-sentence for DB schema sql in build/db/Dockerfile if need
  • add the service in docker-compose.yaml refer to spacemanager

regress test

  • add test scripy to tests directory
  • make test

deploy's People

Contributors

yudong2015 avatar zlianzhuang avatar yu31 avatar wtw1994 avatar gxlevi 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.