Inventorymaster

This project provide an engine system for basic inventory management.

How to use

Add to your Gemfile gem ‘inventorymaster’

bundle install

after this all migrations inside a engine stay displonible in main application.

rake db:migrate

Add to your routes file

mount Inventorymaster::Engine, :at => ‘/stok’

Aftere this the system is ready paste this code in application.html.erb to see and navigate in the app.

<li><a href="/stok/locations">Locals</a></li>
<li><a href="/stok/areas">Areas</a></li>
<li><a href="/stok/manufacturers">Manufactures</a></li>
<li><a href="/stok/settings">Settings</a></li>
<li><a href="/stok/products">Products</a></li>
<li><a href="/stok/transaction_types">Transactions Type</a></li>

App takes the layout from main app, but this engine uses Bootstrap 3.0.0 layout.

For search in products

You need install Elastic search first

I follow this tuto www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-4-on-ubuntu-14-04

Add this style raw.githubusercontent.com/grk/bookstore-example/master/app/assets/stylesheets/typeahead.css

Add this javascript <%= javascript_include_tag ‘//cdnjs.cloudflare.com/ajax/libs/typeahead.js/0.9.3/typeahead.min.js’, ‘data-turbolinks-track’ => true %>

Add this gem gem “searchkick”

And start javascript search

$ ->

$('#product_search').typeahead
  name: "product"
  remote: "/stok/products/autocomplete?query=%QUERY"

RoadMap

  • More features

  • Develop reports

  • Write Tests

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

  • Report bugs

  • Fix bugs and submit pull requests

  • Write, clarify, or fix documentation

  • Suggest or add new features

To get started with development and testing:

git clone github.com/jcottobboni/inventorymaster.git

Add gem ‘inventorymaster’,path:=> ‘../inventorymaster’

to you current project and follow steps in the up this file for implement inventory system in your project.

Enjoy!!!