docker-ms / microservice-lsync

Server to client data sync service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

  • This is the 'lsync' microservice, its responsibilities will be:

    1. Generate the necessary data snapshots and deltas according to our design.

    2. Take care of all the missed ops for user's devices.

Note

  1. We are not using 'master' branch.

  2. Any new created branch please indicate its 'target' and 'based point' in the branch name explicitly.

How to build this image, and then push to our private registry

# Build your image.
docker build \
  --no-cache=true \
  --pull=true \
  --compress=false \
  --rm=true \
  --force-rm=true \
  --tag lsync-dev-leonard:0.0.1 \
  .

# Tag your image.
docker tag lsync-dev-leonard:0.0.1 micro02.sgdev.vcube.com:65300/lsync-dev-leonard:0.0.1

# Login to the corresponding registry.
docker login micro02.sgdev.vcube.com:65300

# Push your image to the registry.
docker push micro02.sgdev.vcube.com:65300/lsync-dev-leonard:0.0.1

Run this project at your localhost

#
## -n to specify whether you need to run npm install.
## -w to specify the owner of this env.
#
source run.sh -n -w leonard

About

Server to client data sync service.

License:MIT License


Languages

Language:Go 98.4%Language:Shell 1.6%