order-fixer-svc

command module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: AGPL-3.0 Imports: 11 Imported by: 0

README

order-fixer

order-fixer - 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 order-fixer.sudoers /etc/sudoers.d/order-fixer

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.order-fixer.{environment}" \
--tag-list "deploy,deploy.order-fixer.{environment}"
sudo apt install make

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pb
repository

Jump to

Keyboard shortcuts

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