sinkronigo-svc

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2020 License: AGPL-3.0 Imports: 10 Imported by: 0

README

sinkronigo

sinkronigo - go micro service for sync from mobilet database to nosql.

How it works

  • Using pub sub model
  • Using micro framework

Install service on Ubuntu

sudo cp sinkronigo.sudoers /etc/sudoers.d/sinkronigo

Deploy with own gitlab-runner

curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | sudo bash
sudo apt-get install gitlab-runner
sudo nano /etc/systemd/system/gitlab-runner.service
ExecStart=/usr/lib/gitlab-runner/gitlab-runner "run" "--working-directory" "/home/nimda/code" "--config" "/etc/gitlab-runner/config.toml" "--service" "gitlab-runner" "--syslog" "--user" "nimda"
sudo systemctl daemon-reload
sudo service gitlab-runner restart
sudo gitlab-runner register \
--non-interactive \
--url "https://gitlab.softpark.kz/" \
--registration-token "PROJECT_RUNNER_TOKEN" \
--executor "shell" \
--description "gr.sinkronigo.{environment}" \
--tag-list "deploy,deploy.sinkronigo.{environment}"
sudo apt install make

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL