Proposed solution to Programming Challenge 1B. The system must receive a file with sales, parse it and ingest the data.
- Ruby 2.5
- Rails 5.1.3
- SQlite 3
- Make clone of the repository
git clone https://github.com/emerayo/desafio-programacao-1b.git
- Open the folder where the clone is located
cd desafio-programacao-1b
- Install dependencies
bundle install
- Setup the database
rails db:create
- Run the migrations
rails db:migrate
- Start the server
rails s
- Open the page on the browser
http://localhost:3000
- To run the tests
rspec ./spec/
Desenvolvimento da solução do Desafio de Programação 1B. O sistema deve receber um arquivo com vendas, tratá-lo e realizar a ingestão dos dados.
- Ruby 2.5
- Rails 5.1.3
- SQlite 3
- Faça o clone do repositório
git clone https://github.com/emerayo/desafio-programacao-1b.git
- Abra o diretório onde o clone se encontra
cd desafio-programacao-1b
- Instale as dependências
bundle install
- Crie o banco de dados
rails db:create
- Rode as migrações
rails db:migrate
- Inicialize o servidor
rails s
- Abra a página no navegador
http://localhost:3000
- Para rodar os testes
rspec ./spec/