menu-svc

command module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

README

menu-svc

menu-svc - go micro service for food.

How it works

  • Using micro framework

Documentation

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

Install service on Ubuntu

sudo cp menu-svc.sudoers /etc/sudoers.d/menu-svc

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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