GitLab: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 1: Line 1:
Yes it's Ruby.  Yes it's time for yet another shitty "solution to everything" framework... sigh...
Yes it's Ruby.  Yes it's time for yet another shitty "solution to everything" framework... sigh...


* set up shitcutter.com in domains.google.com and certbot and haproxy; see haproxy.cfg for details
* 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.


* [https://computingforgeeks.com/how-to-install-gitlab-ce-on-ubuntu-linux/ Install] up to the point where you configure
* [https://computingforgeeks.com/how-to-install-gitlab-ce-on-ubuntu-linux/ Install] up to the point where you configure
Line 7: Line 9:
* configure
* configure
  sudo emacs /etc/gitlab/gitlab.rb
  sudo emacs /etc/gitlab/gitlab.rb
external_url 'https://shitcutter.com'
nginx['listen_https'] = false
nginx['listen_port'] = 8095
nginx['redirect_http_to_https'] = false
letsencrypt['enable'] = false
* build
  sudo gitlab-ctl reconfigure # whoa, this builds/bakes everything
  sudo gitlab-ctl reconfigure # whoa, this builds/bakes everything


um how tf do i run without ssl....
* fix root pw RIGHT AWAY
sudo gitlab-rake "gitlab:password:reset[root]"
 
* browse to [https://shitcutter.com admin console] and get configuring
 
* to get to a rails console:
sudo gitlab-rails console

Revision as of 16:15, 11 September 2021

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

  • 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
sudo emacs /etc/gitlab/gitlab.rb
external_url 'https://shitcutter.com'
nginx['listen_https'] = false
nginx['listen_port'] = 8095
nginx['redirect_http_to_https'] = false
letsencrypt['enable'] = false
  • build
sudo gitlab-ctl reconfigure # whoa, this builds/bakes everything
  • fix root pw RIGHT AWAY
sudo gitlab-rake "gitlab:password:reset[root]"
  • to get to a rails console:
sudo gitlab-rails console