Skip to content

phbomfim/stock-system

Repository files navigation

Stock System 📦

An inventory system generated from CSV files.

img

Project notes 📋

  1. Read a .CSV file with migrations and values, and generate a data in system
  2. "movimentacao_de_estoque.csv" is a template file and you can rely on it.
  3. This system show all errors ocurred in migrations

Prerequisites ⚙️

  1. Ruby 2.5 or higher - I advise you to use the RVM
  2. Bundler - gem install bundler
  3. Rails - gem install rails
  4. Yarn - brew install yarn or Install yarn
  5. Git - brew install git or install git
  6. PostgreSQL - Download PSQL

Installation Steps 📌

1. Clone the repository

$ git clone https://github.com/phbomfim/stock-system.git

2. Change the working directory

$ cd stock-system

3. Install dependencies

$ bundle install

4. Migrate a database

$ rails db:migrate

5. Run the app

$ rails s

Instructions

  1. In the homepage click on "Importar CSV" button. Selecet a .csv file named movimentacao_de_estoque.csv !
  2. Next, go to "Movimentações" link and run "Gerar novas movimentações"
  3. Now, you have a stock logs and values in your view and database!

Contribuition 📈

  • This repositorie is public and if you wanna help me open a Pull Request
  • If you find a error help me and open a Issue

About

A system to import data from CSV files and store in model

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published