smartcloud 0.0.73 → 0.0.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 052ca956033d9e55075c61276b569b157d68cc62895551e338794b33d1924c09
4
- data.tar.gz: bf253135cb04e61b91ffce192e390bd7d924a6e51709e1098f5bd865c56da28c
3
+ metadata.gz: 3a15f2021f717192da9d1f20464d6705702ae153783da40c966ccbd12ec089e6
4
+ data.tar.gz: ab1b774e8f6903e126a9505a72e020277ff78f22f63e1d0492c7a099a00eaf4b
5
5
  SHA512:
6
- metadata.gz: 00befee63000beb0e64cb83b05ea43a6403850270fc21b9703bb6c0f3ebbc5f859ee883031e2b909e168e0d3448d60405d904a8539624aae7fe7abb52471335d
7
- data.tar.gz: b87c05603378b5249fbfea06dfa4f4801b2c587b4e723e03fce6b8155e86096eb47c7bb7b771a93f6ba4cbad749997f0a665ffb07f9c934469664f46f6a87718
6
+ metadata.gz: c9516bb7b24865641a532fa6492a9721ce06108deea4cb97b214ce11e32560867b5ab2c478f36ad83e8262043327d71e57d255cd326d7e5b2a5d26a81100e81c
7
+ data.tar.gz: 5fad0dc5c8706804cd3580d51d9f828dc0201d6455f188ee0cf4d898904e3bea11c4333cf7b3b5ef4eaa4eccf2e5c3829348d9aa87c8333a567a2dc5cfa74c63
@@ -15,12 +15,15 @@ class Buildpacker
15
15
  FileUtils.rm("tmp/pids/server.pid") if File.exist? "tmp/pids/server.pid"
16
16
 
17
17
  puts "-----> Performing bundle install ... "
18
- if system("bundle install")
19
- puts "-----> 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."
18
+ if system("bundle check || bundle install")
19
+ puts "-----> Installing Javascript Dependencies ... "
20
+ if system("yarn install")
21
+ puts "-----> Pre-compiling Assets ... "
22
+ if system("bundle exec rails assets:precompile")
23
+ puts "-----> Running Web Server ... "
24
+ if system("foreman start -f Procfile")
25
+ puts "-----> Launched Application ... Success."
26
+ end
24
27
  end
25
28
  end
26
29
  end
@@ -1,11 +1,17 @@
1
- FROM ruby:2.6.3-alpine
1
+ FROM ruby:2.6.4-alpine3.10
2
2
  MAINTAINER Timeboard <hello@timeboard.me>
3
3
 
4
4
  ############### INSTALL RUBY ON RAILS ESSENTIALS ###############
5
5
 
6
6
  RUN apk add --update build-base && \
7
- apk add --update ruby-mysql2 && \
8
7
  apk add --update tzdata && \
8
+ apk add --update nodejs && \
9
+ apk add --update yarn && \
10
+ apk add --update ruby-mysql2 && \
11
+ apk add --update imagemagick && \
12
+ apk add --update ffmpeg && \
13
+ apk add --update mupdf && \
14
+ apk add --update mupdf-tools && \
9
15
  rm -rf /var/cache/apk/*
10
16
 
11
17
  # Install bundler and foreman gems
@@ -355,6 +355,7 @@ module Smartcloud
355
355
  --env-file='#{container_path}/env' \
356
356
  --expose='5000' \
357
357
  --volume='#{container_path_with_now_date}:/code' \
358
+ --volume='#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner/buildpacks/rails/gems:/usr/local/bundle' \
358
359
  --workdir='/code' \
359
360
  --restart='always' \
360
361
  --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.73
4
+ version: 0.0.74
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard