Sha256: 542456f7a8a1589cbf5dbe4ec6ac4c046fdb757cd21a4d4f440d71a2fab513b0
Contents?: true
Size: 923 Bytes
Versions: 5
Compression:
Stored size: 923 Bytes
Contents
#!/usr/bin/env ruby require 'generic_app' valid_folder = false dir_app = '' while valid_folder = false or dir_app == '' do puts '*************************************************' puts 'Adding Generic App features to a pre-existing app' puts puts "Present working directory: #{Dir.pwd}" puts system ('ls') puts puts 'Enter the name of the directory in which you wish to add the features of Generic App:' dir_app = gets.chomp begin GenericApp.add (dir_app) valid_folder = true rescue end end puts '***********************************' puts 'Please enter the following command' puts 'to enter the app:' puts "cd #{dir_app}" puts puts 'Please note that certain scripts (like test_app.sh and seed.sh)' puts 'may need to be revised for this legacy app.' puts puts 'If this legacy app uses the PostgreSQL database, run the ' puts 'setup-pg.sh script to set up the database and its user.' puts
Version data entries
5 entries across 5 versions & 1 rubygems