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;
|
padding: 0.3em;
|
||||||
display: block;
|
display: block;
|
||||||
width: 66%;
|
width: 66%;
|
||||||
border-top: 1px solid #666666;
|
border: 1px solid #cccccc;
|
||||||
height: auto; }
|
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 {
|
#submit_block {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|
@ -392,10 +398,7 @@ label {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
height: 42px;
|
height: 42px;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0; }
|
||||||
box-shadow: 0 1px 2px white;
|
|
||||||
-moz-box-shadow: 0 1px 2px white;
|
|
||||||
-webkit-box-shadow: 0 1px 2px white; }
|
|
||||||
#publisher .button {
|
#publisher .button {
|
||||||
margin-left: 100px; }
|
margin-left: 100px; }
|
||||||
#publisher img {
|
#publisher img {
|
||||||
|
|
|
||||||
|
|
@ -474,9 +474,17 @@ input[type='text'], textarea
|
||||||
:padding 0.3em
|
:padding 0.3em
|
||||||
:display block
|
:display block
|
||||||
:width 66%
|
:width 66%
|
||||||
:border-top 1px solid #666
|
:border 1px solid #ccc
|
||||||
:height auto
|
: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
|
#submit_block
|
||||||
:text
|
:text
|
||||||
:align right
|
:align right
|
||||||
|
|
@ -526,10 +534,6 @@ label
|
||||||
:top 0
|
:top 0
|
||||||
:bottom 0
|
:bottom 0
|
||||||
|
|
||||||
:box-shadow 0 1px 2px #fff
|
|
||||||
:-moz-box-shadow 0 1px 2px #fff
|
|
||||||
:-webkit-box-shadow 0 1px 2px #fff
|
|
||||||
|
|
||||||
.button
|
.button
|
||||||
:margin-left 100px
|
:margin-left 100px
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,9 @@ then
|
||||||
echo "Mongod not started"
|
echo "Mongod not started"
|
||||||
else
|
else
|
||||||
mkdir -p -v log/thin/
|
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 ruby ./script/websocket_server.rb&
|
||||||
bundle exec thin start $@
|
bundle exec thin start $@
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue