Giter Site home page Giter Site logo

minhlongdo / inventorious Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zmitzie/inventorious

0.0 1.0 0.0 462 KB

An inventory management and tracking system built with Ruby on Rails 5

Home Page: https://inventorious.herokuapp.com/

Ruby 44.91% JavaScript 0.89% CoffeeScript 0.78% CSS 1.58% HTML 51.84%

inventorious's Introduction

Inventorious

An inventory management and tracking system built with Ruby on Rails 5.

"Dashboard"

Demo: https://inventorious.herokuapp.com/

Description

Users (who have access to the app), can specify items, members (who can borrow items), and create borrow orders for members. Orders can then be marked as returned or canceled, or renewed for 7 days from a user. Only authenticated users can access the app and make changes. User registration is disabled. Emails to a specified address are sent when an order is created, deleted, renewed, or marked as "returned".

Installation Instructions

Install Rails

  • Make sure you have a Ruby version > 2.2.2 installed in your system
  • Install RubyGems
  • run gem install rails -v 5.0.2

Download Repo

  • Download this repo, and unzip it
  • cd inventorious to cd into the folder
  • bundle
  • rails db:migrate db:seed

Set Enviroment Variables

You need to set 6 enviroment variables, for emails to be delivered (for ActionMailer, password reset, etc).

You can use the Figaro Gem if you like.

Enviroment Variable Names Are
EMAIL_DOMAIN Domain of your email server
EMAIL_USERNAME Username for your email (most of the time [email protected])
EMAIL_PASSWORD Password for your email
SMTP_SERVER Address for your smtp server
EMAIL_SEND_FROM Email address where email will go out from
ACTION_MAILER_SEND_TO Email address which will receive email notifications on order create, cancel, renew, return

You may have to further configure the SMTP delivery options. If so, edit this file config/environments/development.rb

If you are deploying to Heroku, set HEROKU_URL as the url of your app!

Run the server

  • Run rails s to start the server
  • Without stoping the server, open another terminal window and run rake jobs:work (needed in order for ActionMailer to work and deliver emails)
  • Visit http://localhost:3000
  • Use [email protected] change_me for the email and password. Change the password and email once you login. Create more users via the Console.

inventorious's People

Contributors

minhlongdo avatar zmitzie avatar

Watchers

 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.