Boot up new rails application with configured test environment and all necessary gems. Default configs are:
- PostgreSQL
- no minitets
- rspec
- pure js - not coffee
- sidekiq as background processing adapter
- redis
- test environment is set
- rspec_api_documentation for testing and docs generation
- rack-cors configured
- blueprinter_serializer
- devise-jwt
- Copy setup_rails_prototype.sh into folder where you want to create your_rails_app folder
- Specify rails version and your app name!
Options:
-r # Rails VERSION
-t # Application type: [api classic]
-n # Application name
Script options:
-h # Show this help message and quit
-v # Show script version number and quit"
sh setup_rails_prototype.sh -r 5.2.2 -t api -n my_awesome_app