- Read a .CSV file with migrations and values, and generate a data in system
- "movimentacao_de_estoque.csv" is a template file and you can rely on it.
- This system show all errors ocurred in migrations
- Ruby 2.5 or higher - I advise you to use the RVM
- Bundler -
gem install bundler
- Rails -
gem install rails
- Yarn -
brew install yarn
or Install yarn - Git -
brew install git
orinstall git
- PostgreSQL - Download PSQL
$ git clone https://github.com/phbomfim/stock-system.git
$ cd stock-system
$ bundle install
$ rails db:migrate
$ rails s
- In the homepage click on "Importar CSV" button. Selecet a .csv file named movimentacao_de_estoque.csv !
- Next, go to "Movimentações" link and run "Gerar novas movimentações"
- Now, you have a stock logs and values in your view and database!
- 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