smartcloud 0.0.77 → 0.0.78
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf10814a06ebeaa6253a7aeb6212f48996148a36a680964a77b6a73011344cbb
|
4
|
+
data.tar.gz: 6bfcd62830d3759e5e88a2a4948e0cad41f75cc1f28ecb96c32274c5afa53262
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d801736e17c7634f1efead3ecab9a895aeadf1a5d6d9178c9b1606258fdf7a041e35518ede27ae9ffd4943ac61dc694b73d6acd0aacdae62339132ea2b7fafa9
|
7
|
+
data.tar.gz: b744dbbe6682893d3f7296ee98a7b96c3c042b17e445a67743977f239c194cff026c9ae493c95cfd893dec4f70f50b9d71f4486e16cba945694beccdd9665c1c
|
@@ -16,15 +16,13 @@ class Buildpacker
|
|
16
16
|
|
17
17
|
puts "-----> Performing bundle install ... "
|
18
18
|
if system("bundle install")
|
19
|
-
puts "-----> Installing Javascript Dependencies ... "
|
20
|
-
if system("
|
21
|
-
puts "----->
|
22
|
-
if system("
|
23
|
-
puts "----->
|
24
|
-
if system("foreman start -f Procfile")
|
25
|
-
puts "-----> Launched Application ... Success."
|
26
|
-
end
|
19
|
+
puts "-----> Installing Javascript Dependencies & Pre-compiling Assets ... "
|
20
|
+
if system("bundle exec rails assets:precompile")
|
21
|
+
puts "-----> Running Web Server ... "
|
22
|
+
if system("foreman start -f Procfile")
|
23
|
+
puts "-----> Launched Application ... Success."
|
27
24
|
end
|
25
|
+
exit 0
|
28
26
|
end
|
29
27
|
end
|
30
28
|
end
|
@@ -364,8 +364,7 @@ module Smartcloud
|
|
364
364
|
system("docker network connect solr-network #{appname}")
|
365
365
|
system("docker network connect mysql-network #{appname}")
|
366
366
|
|
367
|
-
system("docker start #{appname}")
|
368
|
-
system("docker logs #{appname} --follow")
|
367
|
+
system("docker start --attach #{appname}")
|
369
368
|
end
|
370
369
|
end
|
371
370
|
end
|