- Install RVM or rbenv
- Setup a local mySQL server
- Install dependencies and setup development tools
bundle install bundle binstubs bundler --force bundle binstubs foreman
- Rename .env.example file to .env or set the following environment variables:
- MYSQL_USERNAME: username of MySQL user
- MYSQL_PASSWORD: password of the MySQL password
- MYSQL_HOST: your MySQL host
- MYSQL_PORT: yout MySQL port
- MYSQL_SOCKET: your MySQL unix socket
-
rails db:create
-
rails db:schema:load
bin/foreman start
rspec