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
|
# git.kremalicous
|
||||||
|
|
||||||
URL: https://gitlab.kremalicious.com
|
URL: https://www.git.berlin
|
||||||
SSH Host: git.kremalicious.com
|
SSH Host: git.berlin
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
https://docs.bitnami.com/google/apps/gitlab/
|
http://doc.gitlab.com/omnibus/
|
||||||
https://wiki.bitnami.com/Applications/BitNami_GitLab
|
|
||||||
|
|
||||||
## Handy commands
|
## Handy commands
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# connect
|
# connect
|
||||||
ssh m@git.kremalicious.com
|
ssh m@git.berlin
|
||||||
|
|
||||||
# change to git user
|
cd /etc/gitlab/
|
||||||
sudo su git
|
cd /var/opt/gitlab/
|
||||||
|
|
||||||
cd apps/gitlab/htdocs
|
# reconfigure all the things
|
||||||
|
sudo gitlab-ctl reconfigure
|
||||||
# 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
|
|
||||||
|
|
||||||
# restart all the things
|
# 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