Coder Social home page Coder Social logo

bad_cocktail's Introduction

bad_cocktail

Setup

Data

This project uses PostgreSQL database data on "db" database.

Dependencies

You need to install PostgreSQL to your local OS, or be able to access remote postgres instance.

Please provide env variables to your postgres connection.

Installation

pip install -r requirements.txt

Pre-commit hooks

Pre-commit hooks configuration has been added to the repository. Requirements are in the requirements.txt. After the requirements are installed, run pre-commit install. Then, pre-commit hooks should work for the repository.

Env vars

You need to set POSTGRES_USER, POSTGRES_PWD and "POSTGRES_HOST" environment variables.

Running on students(mimuw) with cgi

Set up virtual enviorment inside "public_html" directory. Then, clone

When running on students, on can use public db and server with following credentials placed in .env file:

POSTGRES_USER=scott
POSTGRES_PWD=tiger
POSTGRES_HOST=lkdb

Modifying endpoints or queries

If you want to use your own modified wersions of api, you need to specify your endpoints in lib/main.js file by changing ing_endpoint, drinks_search_endpoint, and drink_endpoint with your own http adresses respectivle.

bad_cocktail's People

Contributors

aderylo avatar ciarbin avatar

Watchers

 avatar

Forkers

ciarbin

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.