Giter VIP home page Giter VIP logo

sentinelsofmagic's Introduction

fridgr

Tracking groceries got you stressed? Chill.

Team

  • April Ablon
  • Khoa Vo
  • Ivana He
  • Connor Wilson

Table of Contents

  1. Usage
  2. Requirements
  3. Development
  4. Roadmap
  5. Contributing

Usage

Some usage instructions

Requirements

  • Node 6.4.x
  • Postgresql 9.5.6

Development

Installing Dependencies

From within the root directory:

npm install

PostgreSQL

-Install Postgre on your machine in whatever manner suites you.

-Create a database called fridgr in PSQL

-Create a user (e.g. fridgr_app) with a password

-Grant this user permissions to access the database fridgr

-From project root run

psql -U fridgr_app -h 127.0.0.1 -W fridgr < ./database/fridgr.sql

-U tells psql to run command as user (like MySQL, note capital)

-h tells psql to make connection as if it were a server, this makes user access consistent with server access, and should save you from having to create two users, let me know if there are issues here

-W makes psql ask for password

Now that the database is created and running, create a config.js file in your database directory that module exports the string

'postgres://USERNAME:PASSWORD@localhost:5432/fridgr'

with appropriate replacements for username and password.

Now when running on your dev machine this will be used for database connection, else the heroku DATABASE_URL environment variable will be used.

For deployment to heroku, look up pg:push. Note: user will need schema permissions.

Roadmap

View the project roadmap here

Contributing

See CONTRIBUTING.md for contribution guidelines.

sentinelsofmagic's People

Contributors

aprilablon avatar exoconnor avatar kvo180 avatar ihe123 avatar

Watchers

James Cloos 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.