GitLab: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 8: Line 8:


=== Tools ===
=== Tools ===
* service
sudo gitlab-ctl # to see commands
sudo gitlab-ctl restart
sudo gitlab-ctl stop
sudo gitlab-ctl tail
* to get to a rails console:
* to get to a rails console:
  sudo gitlab-rails console
  sudo gitlab-rails console

Revision as of 16:37, 11 September 2021

Yes it's Ruby. Yes it's time for yet another shitty "solution to everything" framework... sigh...

Configure

Tools

  • service
sudo gitlab-ctl # to see commands
sudo gitlab-ctl restart
sudo gitlab-ctl stop
sudo gitlab-ctl tail
  • to get to a rails console:
sudo gitlab-rails console

Install

  • set up shitcutter.com in domains.google.com and certbot
  • Set up haproxy redirection; see haproxy.cfg for details. Note that you will be redirecting shitcutter.com https to glam:8095 http.
  • Install up to the point where you configure
  • configure; see MDM comments
sudo emacs /etc/gitlab/gitlab.rb
  • build
sudo gitlab-ctl reconfigure # whoa, this builds/bakes everything
  • fix root pw RIGHT AWAY
sudo gitlab-rake "gitlab:password:reset[root]"
  • browse to admin console and get configuring; for now, turn off sign-up (if anyone wants in later, we can turn it on as it has admin approval turned on)

SMTP

  • again, see /etc/gitlab/gitlab.rb