README.md in generic_app-0.1.0 vs README.md in generic_app-0.1.1

- old
+ new

@@ -16,10 +16,14 @@ Go to the directory where you keep your Rails projects and enter the command "generic_app". You will be asked to select the name of the directory you wish to use for your Rails project, and you will be asked whether you wish to use the SQLite or PostgreSQL database in your development environment. If you choose PostgreSQL, you will be asked for database parameters. <br><br> After you have provided all of the necessary parameters, your generic Rails project will not only be created for you but automatically tested as well. All this takes a few minutes instead of several long and grueling hours. +### Adding Generic App Features To An Existing Project + +Go to the parent of the app's root directory. Enter the command "generic_app_add". You will be shown a list of all sub-directories within your present working directory. Pick the sub-directory corresponding to your target app. The Bash scripts and the list of directories and files within the project will be added. Please note that you may need to revise the test.sh script created in the project, which is designed around the railstutorial.org Sample App. + ## What's the point? Welcome to Ruby On HIGH SPEED Rails! The GenericApp gem saves you time by automatically providing the basic elements and features that nearly all Rails apps require. Instead of spending hours reinventing the wheel, you can spend more of your time on the more advanced features and capabilities that are unique to your specific Rails @@ -54,9 +58,17 @@ 1. Bash scripts in the root directory that allow you to perform routine tasks in only one step. (These scripts are likely to be useful in Rails apps that were not created with this generic_app Ruby gem.) 2. Recommendations that the user make use of password management software to generate and store secure passwords 3. Outlines of the MVC, test suite, and database seeding process in the notes folder 4. Guard automatically runs tests upon startup. 5. If you choose PostgreSQL (instead of SQLite) as your development environment database, the parameters are automatically set on your machine AND in the app for you, and the username and password are EXCLUDED from the source code saved with Git. + +## Development + +### Testing GenericApp +Download this GitHub repository, cd into the source code, and enter the command "sh gem_test.sh". The screen output is saved to the log files in the log directory. If all goes well, every test is completed with 0 or 31m0 failures and 0 errors. + +### Special Note on Figaro +The Figaro gem is used for this gem AND any PostgreSQL projects created. In the interest of avoiding confusion, the same versions of Figaro are specified in the GenericApp gemspec AND in the Gemfile of PostgreSQL-based projects created with this gem. ## Contributing 1. Fork it ( https://github.com/jhsu802701/generic_app/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`)