Sha256: 5ad4216bde509290a91885f0af03e379ec443d287ae3d1ed17e98774b59be468
Contents?: true
Size: 753 Bytes
Versions: 44
Compression:
Stored size: 753 Bytes
Contents
#!/usr/bin/env ruby require_relative 'helpers' app_root do use_docker = ask( question: 'Would you like to use Docker Compose for Postgres?', valid_answers: ['y', 'N'] ) header 'Configuring git' run! 'git remote add upstream https://github.com/avo-hq/avo.git' header 'Installing gems' run! 'bundle install' header 'Installing Yarn packages' run! 'yarn' if use_docker == 'y' header 'Creating the Docker volume' run! 'docker volume create --name=avo-db-data' header 'Creating and running the Docker image' run! 'docker-compose up -d' end header 'Preparing the database' run! 'bin/rails db:setup' if use_docker == 'y' header 'Stopping the Docker image' run! 'docker-compose stop' end end
Version data entries
44 entries across 44 versions & 1 rubygems