Sample Ruby App with MySQL for App42 PaaS Platform
- Setup infrastructure for required environment
- Create service
- Deploy a Ruby application
$ app42 setupInfra
$ app42 createService
DB Configure for Production environment (application_root_dir/config/database.yml)
adapter: mysql2
host: <host>
port: <port>
database: <database name>
username: <user_name>
password: '<password>'
$ app42 deploy
$ app42 appInfo --app AppName
Visit your application: