Coder Social home page Coder Social logo

rpongweb / pantry-for-good Goto Github PK

View Code? Open in Web Editor NEW

This project forked from freecodecamp/pantry-for-good

1.0 1.0 0.0 2.22 MB

An open source food bank logistics and inventory management tool

License: Other

JavaScript 98.95% CSS 0.72% HTML 0.33%

pantry-for-good's Introduction

Build Status Join the chat at https://gitter.im/FreeCodeCamp/pantry-for-good Deploy

This repository is for the Pantry-for-Good application designed by Open Source for Good Contributors at freeCodeCamp. If you'd like to contribute, the contributing guide explains the git workflow and the developers guide gives an overview of how the app works.

The open issues are a good place to start, or you can try the app and add your own issues. If you get stuck or need help with something, feel free to leave a comment.

Some issues are quite large, don't feel like you have to finish them, it's ok. Little bits help too!

There's a demo app hosted at https://pantry-for-good.herokuapp.com, though it might be a bit behind the current version.

Installation

The app is designed to be installed locally (mac, linux or windows) or on Heroku.

You can deploy it to Heroku by clicking the deploy button above. An admin account with [email protected] as email and password as password will be created.


Local installation summary:

  1. Install Node.js and MongoDB
  2. Start MongoDB
  3. git clone https://github.com/freeCodeCamp/Pantry-for-Good.git
  4. cd Pantry-for-Good
  5. Make sure you're on the 'staging' branch (git branch), otherwise run git checkout staging
  6. npm install
  7. npm run dev
  8. Open http://localhost:8080 in your web browser
  9. Login with username [email protected] password password

Detailed local development installation steps

You'll need to have a Node.js version >= 6 installed. Either use your OS's package manager or follow the installation instructions on the official website.

This app uses MongoDB as its database engine. Follow these instructions to install it locally and start the MongoDB server on your machine.

Install git if it is not already installed. To clone this repository to your local machine, open a command line interface and navigate to the directory where you would like to install the app. Then run git clone https://github.com/freeCodeCamp/Pantry-for-Good.git

Move to the Pantry-for-Good directory and run the npm install command to install the application dependencies.

Type npm run dev to start the application in development mode. If all goes well, it will be available at http://localhost:8080. The application is pre-populated with an administrator account with [email protected] as username and password as password.


Installing API keys

To use all the features of this application you will need to obtain API keys and install them in the application. Make a copy of the server/config/env/secrets-template.js file in the same directory and rename it secrets.js. After following the instructions below to obtain API Keys, put your keys in this file.

Google Maps API key for the deliveries feature

Google+ API for allowing users to register/login with google.

Sendgrid email API for sending emails.

  • Register for a trial account or deploy the app and get the username/password from the heroku config vars
  • Go to Settings > API Keys and create a key
  • Paste the key in secrets.js or the SENDGRID_API_KEY config var of your deployed app.

pantry-for-good's People

Contributors

jspaine avatar kenjio avatar maf27 avatar russellwheatley avatar yzhbankov avatar ronaldblanco avatar davycheung avatar yaseenshaik avatar thirdoptics avatar ik226 avatar kevinnorris avatar bpeppard avatar prohorova avatar joshuahenson avatar sherlyc avatar benwh1te avatar prabhu-08 avatar almozaz avatar agoncecelia avatar hy299792458 avatar tombarton avatar gitter-badger avatar sherwinmina avatar ramuthumu avatar logangingerich avatar knochenmark avatar jishnujayakumar avatar icpmacdo avatar dmcfaddengalway avatar bminixhofer 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.