update for GitLab CE Onmnibus installation
This commit is contained in:
parent
77cdf9addb
commit
a6fa5b3a53
37
README.md
37
README.md
@ -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
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user