Skip to content

Latest commit

 

History

History
103 lines (65 loc) · 1.84 KB

README.md

File metadata and controls

103 lines (65 loc) · 1.84 KB

Mister Cocktail

HandyBee is my very first web application built on Ruby on Rails. It is a user-driven cocktail library where anyone can upload their own cocktail creations.

This web application is built on Ruby on Rails with Ruby, HTML, CSS, & Javascript

Web Stack

  • Github
  • Ruby on Rails
  • PostgreSQL
  • Heroku

Libraries

  • Cloudinary
  • PG Search
  • Bootstrap
  • Typed.JS

Install

Clone the repository

git clone [email protected]:jordannadroj/rails-mister-cocktail.git
cd project

Check your Ruby version

ruby -v

The ouput should start with something like ruby 2.5.1

If not, install the right ruby version using rbenv (it could take a while):

rbenv install 2.5.1

Install dependencies

Using Bundler and Yarn:

bundle && yarn

Initialize the database

rails db:create db:migrate db:seed

Add heroku remotes

Using Heroku CLI:

heroku git:remote -a project
heroku git:remote --remote heroku-staging -a project-staging

Serve

rails s

Deploy

With Heroku pipeline (recommended)

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

Directly to production (not recommended)

Push to Heroku production remote:

git push heroku

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.