We are building a simple rails application that allows users to generate minesweeper boards as well as to view previously generated minesweeper boards.
The app is ready to Heroku as well, make you have registered an account on Heroku, and installed the Heroku CLI
- rbenv
latest
- ruby
>= 3.1.0
- postgres
latest
- Clone the repo
git clone https://github.com/pandabamboo90/onestep_minesweeper
- Run setup to prepare database
cd onestep_minesweeper bin/setup
- Start the server
bin/dev
- Push the change on heroku, this will trigger the deployment
git push heroku main
- Run the DB migration if needed
heroku run rake db:migrate
- Start the server
heroku ps:scale web=1
- Access the app on your browser
heroku open