Skip to content
Snippets Groups Projects
Commit 0fefbad6 authored by Terry Wang's avatar Terry Wang
Browse files

Unify markdown syntax for Bash commands

parent 4105878a
No related branches found
No related tags found
Loading
Loading
@@ -9,7 +9,9 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
Loading
@@ -9,7 +9,9 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
   
### 1. Stop server ### 1. Stop server
   
```bash
sudo service gitlab stop sudo service gitlab stop
````
   
### 2. Get latest code ### 2. Get latest code
   
Loading
@@ -51,18 +53,24 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
Loading
@@ -51,18 +53,24 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
   
### 5. Start application ### 5. Start application
   
```bash
sudo service gitlab start sudo service gitlab start
sudo service nginx restart sudo service nginx restart
```
   
### 6. Check application status ### 6. Check application status
   
Check if GitLab and its environment are configured correctly: Check if GitLab and its environment are configured correctly:
   
```bash
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
```
   
To make sure you didn't miss anything run a more thorough check with: To make sure you didn't miss anything run a more thorough check with:
   
```bash
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
```
   
If all items are green, then congratulations upgrade complete! If all items are green, then congratulations upgrade complete!
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment