update for GitLab CE Onmnibus installation

This commit is contained in:
Matthias Kretschmann 2016-04-21 19:48:24 +02:00
parent 77cdf9addb
commit a6fa5b3a53
1 changed files with 19 additions and 18 deletions

View File

@ -1,33 +1,34 @@
# git.kremalicous
URL: https://gitlab.kremalicious.com
SSH Host: git.kremalicious.com
URL: https://www.git.berlin
SSH Host: git.berlin
## Documentation
https://docs.bitnami.com/google/apps/gitlab/
https://wiki.bitnami.com/Applications/BitNami_GitLab
http://doc.gitlab.com/omnibus/
## Handy commands
```bash
# connect
ssh m@git.kremalicious.com
ssh m@git.berlin
# change to git user
sudo su git
cd /etc/gitlab/
cd /var/opt/gitlab/
cd apps/gitlab/htdocs
# run checks
bundle exec rake gitlab:check RAILS_ENV=production
# clean all the things
bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
# backup
bundle exec rake gitlab:backup:create RAILS_ENV=production
# reconfigure all the things
sudo gitlab-ctl reconfigure
# restart all the things
sudo /opt/bitnami/ctlscript.sh restart
sudo gitlab-ctl restart
# run checks
sudo gitlab-rake gitlab:check
# clean all the things
sudo gitlab-rake assets:clean assets:precompile cache:clear
# backup
sudo gitlab-rake gitlab:backup:create
```