tar the app's source and throw it in the public folder on server boot.
This commit is contained in:
parent
fa8cc5b876
commit
e145cbab5b
3 changed files with 21 additions and 11 deletions
|
|
@ -353,8 +353,14 @@ input[type='text'], textarea {
|
|||
padding: 0.3em;
|
||||
display: block;
|
||||
width: 66%;
|
||||
border-top: 1px solid #666666;
|
||||
height: auto; }
|
||||
border: 1px solid #cccccc;
|
||||
height: auto;
|
||||
border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
box-shadow: 0 1px 2px white;
|
||||
-moz-box-shadow: 0 1px 2px white;
|
||||
-webkit-box-shadow: 0 1px 2px white; }
|
||||
|
||||
#submit_block {
|
||||
text-align: right;
|
||||
|
|
@ -392,10 +398,7 @@ label {
|
|||
width: 600px;
|
||||
height: 42px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
box-shadow: 0 1px 2px white;
|
||||
-moz-box-shadow: 0 1px 2px white;
|
||||
-webkit-box-shadow: 0 1px 2px white; }
|
||||
margin-bottom: 0; }
|
||||
#publisher .button {
|
||||
margin-left: 100px; }
|
||||
#publisher img {
|
||||
|
|
|
|||
|
|
@ -474,9 +474,17 @@ input[type='text'], textarea
|
|||
:padding 0.3em
|
||||
:display block
|
||||
:width 66%
|
||||
:border-top 1px solid #666
|
||||
:border 1px solid #ccc
|
||||
:height auto
|
||||
|
||||
:border-radius 5px
|
||||
:-webkit-border-radius 5px
|
||||
:-moz-border-radius 5px
|
||||
|
||||
:box-shadow 0 1px 2px #fff
|
||||
:-moz-box-shadow 0 1px 2px #fff
|
||||
:-webkit-box-shadow 0 1px 2px #fff
|
||||
|
||||
#submit_block
|
||||
:text
|
||||
:align right
|
||||
|
|
@ -526,10 +534,6 @@ label
|
|||
:top 0
|
||||
:bottom 0
|
||||
|
||||
:box-shadow 0 1px 2px #fff
|
||||
:-moz-box-shadow 0 1px 2px #fff
|
||||
:-webkit-box-shadow 0 1px 2px #fff
|
||||
|
||||
.button
|
||||
:margin-left 100px
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,9 @@ then
|
|||
echo "Mongod not started"
|
||||
else
|
||||
mkdir -p -v log/thin/
|
||||
#force AGPL
|
||||
tar cf ../_source.tar --exclude='*.yml' --exclude='public/uploads' *
|
||||
mv ../_source.tar public/source.tar
|
||||
bundle exec ruby ./script/websocket_server.rb&
|
||||
bundle exec thin start $@
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue