smartcloud 0.0.184 → 0.0.185

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: 9b036a69c41986c8bc466401694c5602292426a2aacf28bcdccb12ff60356d02
4
- data.tar.gz: 4be43d0d642cb6243372a2e9400ed58f9e5cf702dbfb1718388f031dbbd68227
3
+ metadata.gz: c484a6fcf7dcb984273371aa62fdd8276a1ac34f8198e7bd14b54e6ca3c6f7a2
4
+ data.tar.gz: f003009d8c5849c28540a4c7e807540015afdda3996d59464cf075be16c67f1a
5
5
  SHA512:
6
- metadata.gz: 2e8e26705bc738ce8e47e31915a76b8794be5195d8ddc1694b61ece548f39afa24c271aaf62f0a966e4bdad951207cc02e7ac211a7b87924915d67178838dbe0
7
- data.tar.gz: 98163e53f2528d250c880c7b418af7b9d44e58ce3b0237a0039f1325433388e4c638c3f7af3c6f17f600bd553fdf06f47af85ca4d57405dbdbe09725ebe74f9b
6
+ metadata.gz: f84e907973d6c90a7a8b72ff84c7b21d92ff9a1e57d8b63947ad26490473c6f506caad65fa83dad6a9f750f7e8c6da154dcd93da2d28748c081ec6e8b01f5483
7
+ data.tar.gz: e35384f303b0d2b381371c412672686ff1ba8c199fad3097063694b90e6ce3ff3b41351a09da38a0d10acf38c5b7a2a62785701ab87acc6d62fc4c280ac02151
@@ -73,9 +73,9 @@ module Smartcloud
73
73
 
74
74
  # if system("god -c Godfile -D")
75
75
  logger.info "Launched Application ... Success."
76
- # return true
76
+ return true
77
77
  # end
78
- return false
78
+ # return false
79
79
  end
80
80
 
81
81
  def set_logger_formatter_arrow
@@ -304,9 +304,10 @@ module Smartcloud
304
304
  system("grep -q '^RAILS_MASTER_KEY=' #{env_path} || echo 'RAILS_MASTER_KEY=yourmasterkey' >> #{env_path}")
305
305
  logger.warn "Please set your RAILS_MASTER_KEY env var for this rails app." if system("grep -q '^RAILS_MASTER_KEY=yourmasterkey' #{env_path}")
306
306
 
307
- # Setup gems folder. If this is not created then docker will create it while running the container,
307
+ # Setup app folders. If this is not created then docker will create it while running the container,
308
308
  # but the folder will have root user assigned instead of the current user.
309
- FileUtils.mkdir_p("#{container_path}/gems")
309
+ FileUtils.mkdir_p("#{container_path}/app/vendor/bundle")
310
+ FileUtils.mkdir_p("#{container_path}/app/public")
310
311
 
311
312
  # Setup Godfile
312
313
  unless File.exist? "#{container_path_with_version}/Godfile"
@@ -330,7 +331,8 @@ module Smartcloud
330
331
  --expose='5000' \
331
332
  --volume='#{Smartcloud.config.user_home_path}/.smartcloud/config:#{Smartcloud.config.user_home_path}/.smartcloud/config' \
332
333
  --volume='#{container_path_with_version}:/app' \
333
- --volume='#{container_path}/gems:/app/vendor/bundle' \
334
+ --volume='#{container_path}/app/vendor/bundle:/app/vendor/bundle' \
335
+ --volume='#{container_path}/app/public:/app/public' \
334
336
  --workdir='/app' \
335
337
  --restart='always' \
336
338
  --network='nginx-network' \
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.184
4
+ version: 0.0.185
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard