Blind Drunk is a cocktail creating Web App in which you can create a cocktail and add ingredients doses.
I wanted to create a web app with multiple connected modles that stores persistant data.
in your terminal:
git clone git@github.com:karmar4/BlindDrunk.git
cd project
in your terminal:
ruby -v
if you have a version below 2.5.1 install a leter version:
rbenv install 2.6.3
in your terminal:
bundle install
touch .env
echo '.env*' >> .gitignore
You will have to create a free acount with cloudinary or another cloud image hosting service
- copy your Environment variable URL into the .env file
"CLOUDINARY_URL=cloudinary://:************@dvlfueugu" it should look something like this
in your terminal:
brew install postgresql
brew services start postgresql
rails db:create db:migrate db:seed
in your terminal:
rails s
- open http://localhost:3000
- press the + button in the nav bar to create a new cocktail
- navigate into the cocktail show page by pressing on a cicktail card
- add ingredients on the form or delete them by pressing the x next to the ingredient
Anyone who would like to contribute is welcome to. For any major changes, please open an issue first to discuss what you would like to change.