34 lines
634 B
Markdown
34 lines
634 B
Markdown
|
# git.kremalicous
|
||
|
|
||
|
URL: https://gitlab.kremalicious.com
|
||
|
SSH Host: git.kremalicious.com
|
||
|
|
||
|
## Documentation
|
||
|
|
||
|
https://docs.bitnami.com/google/apps/gitlab/
|
||
|
https://wiki.bitnami.com/Applications/BitNami_GitLab
|
||
|
|
||
|
## Handy commands
|
||
|
|
||
|
```bash
|
||
|
# connect
|
||
|
ssh m@git.kremalicious.com
|
||
|
|
||
|
# change to git user
|
||
|
sudo su git
|
||
|
|
||
|
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
|
||
|
|
||
|
# restart all the things
|
||
|
sudo /opt/bitnami/ctlscript.sh restart
|
||
|
```
|