git clone https://github.com/atchyutn/digital_shop.git
cd project
ruby -v
The output should start with something like ruby 2.6.0
If not, install the right ruby version using rvm (it could take a while):
rvm install 2.6.0
Using Bundler:
gem install
TODO
rails db:create db:migrate db:seed
bundle exec rspec
rails s
Using Heroku CLI:
heroku git:remote -a digital-shop
heroku git:remote --remote heroku-staging -a digital-shop
Push to Heroku staging remote:
git push heroku-staging
Go to the Heroku Dashboard and promote the app to production or use Heroku CLI:
heroku pipelines:promote -a project-staging
Push to Heroku production remote:
git push heroku