Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lib/support/deploy/deploy.sh
lib/support/deploy/deploy.sh
+5
-4
No files found.
lib/support/deploy/deploy.sh
View file @
2934e7a9
...
@@ -28,17 +28,18 @@ sudo -u git -H git pull origin master
...
@@ -28,17 +28,18 @@ sudo -u git -H git pull origin master
echo
'Deploy: Bundle and migrate'
echo
'Deploy: Bundle and migrate'
# change it to your needs
# 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 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)
# return stashed changes (if necessary)
# sudo -u git -H git stash pop
# sudo -u git -H git stash pop
echo
'Deploy: Starting GitLab server...'
echo
'Deploy: Starting GitLab server...'
sudo
service gitlab start
sudo
service gitlab start
sleep
10
sudo
-u
git
-H
rm
/home/git/gitlab/public/index.html
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