Sha256: ea202ff1c6160fcc20daa022ea26b5148f284379d6f27d89b9dd92573a597eea

Contents?: true

Size: 385 Bytes

Versions: 5

Compression:

Stored size: 385 Bytes

Contents

#!/bin/bash
set -e
# change mongoid.yml for docker
cp /myapp/config/mongoid.yml-docker /myapp/config/mongoid.yml
# Remove a potentially pre-existing server.pid for Rails.
rm -f /myapp/tmp/pids/server.pid
# Compile the assets
# bundle exec rake assets:precompile
# Add admin user
rake jinda:seed
# Then exec the container's main process (what's set as CMD in the Dockerfile).
exec "$@"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jinda-0.7.0 lib/generators/jinda/templates/entrypoint.sh
jinda-0.6.9 lib/generators/jinda/templates/entrypoint.sh
jinda-0.6.8 lib/generators/jinda/templates/entrypoint.sh
jinda-0.6.7 lib/generators/jinda/templates/entrypoint.sh
jinda-0.6.5 lib/generators/jinda/templates/entrypoint.sh