Welcome to Generic App, the #1 most comprehensive Rails app generator! No other method of starting a Rails app can save you so much time and effort. Stop reinventing the wheel every time you start a new Rails project. User authentication, comprehensive tests, Twitter bootstrap styling, and other features that are desirable in all or most Rails apps are implemented in advance. You get post-installation scripts that consolidate routine multi-step tasks into one step, including the process of setting up your app for PostgreSQL. Outlines of the initial MVC architecture of your new app are also provided. Only GenericApp way gives you a comprehensive Rails app in just a few minutes. If you're not exactly a Generic App user, then you're not exactly viable at Startup Weekend or 24-hour web site challenges.
You must have not only Ruby on Rails installed but SQLite and PostgreSQL installed as well. Everything you need to use the GenericApp gem is pre-installed in my general purpose Debian Stable Docker image (rails-general) for Ruby On Rails. To get started, go to the Ruby on Racetracks web site.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install generic_app
- Go to the directory where you keep your Rails projects and enter the command "generic_app".
- After you have provided all of the necessary parameters, your generic Rails project will be available for you in just a few seconds. This saves you many hours of hard work.
- To test this gem, enter the command "sh gem_test.sh".
- To test this gem AND the app created during this process, enter the command "sh long_test.sh".
- To install this gem, enter the command "sh gem_install.sh".
- To test the source code for various metrics, enter the command "sh code_test.sh".
- To do all of the above, enter the command "sh all.sh".
- To run an interactive prompt, enter the command "sh console.sh".
- To release a new version, update the version number in the lib/(name of gem)/version.rb file, and then run "bundle exec rake release". This creates a git tag for the version, push git commits and tags, and pushes the
.gemfile to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/rubyonracetracks/generic_app. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the GenericApp project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.