BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
2934e7a9
Commit
2934e7a9
authored
Dec 11, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update deploy.sh script with assets commands
parent
880fef0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
deploy.sh
lib/support/deploy/deploy.sh
+6
-4
No files found.
lib/support/deploy/deploy.sh
View file @
2934e7a9
...
...
@@ -28,17 +28,18 @@ sudo -u git -H git pull origin master
echo
'Deploy: Bundle and migrate'
# change it to your needs
sudo
-u
git
-H
bundle
--without
postgres
sudo
-u
git
-H
bundle
--without
aws development
test
postgres
--deployment
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake assets:clean
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake assets:precompile
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake cache:clear
RAILS_ENV
=
production
# return stashed changes (if necessary)
# sudo -u git -H git stash pop
echo
'Deploy: Starting GitLab server...'
sudo
service gitlab start
sleep
10
sudo
-u
git
-H
rm
/home/git/gitlab/public/index.html
echo
'Deploy: Done'
echo
'Deploy: Done'
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment