Code Monkey home page Code Monkey logo

blinddrunk's Introduction

Blink Drunk

Blind Drunk is a cocktail creating Web App in which you can create a cocktail and add ingredients doses.

Motivation

I wanted to create a web app with multiple connected modles that stores persistant data.

Installation

Clone the repository

in your terminal:

git clone git@github.com:karmar4/BlindDrunk.git
cd project

Check your Ruby version

in your terminal:

ruby -v

if you have a version below 2.5.1 install a leter version:

rbenv install 2.6.3

install gems

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

Initialize the database

in your terminal:

brew install postgresql
brew services start postgresql
rails db:create db:migrate db:seed

Serve

in your terminal:

rails s

How it works

  • 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

Contributing

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.

blinddrunk's People

Contributors

karmar4 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.