https://github.com/ewertoncodes/desconto-inss
https://github.com/ewertoncodes/desconto-inss
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ewertoncodes/desconto-inss
- Owner: ewertoncodes
- Created: 2025-05-08T22:53:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-08T23:05:07.000Z (about 1 year ago)
- Last Synced: 2025-05-09T00:18:59.837Z (about 1 year ago)
- Language: Ruby
- Size: 126 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Desconto INSS - Guia de Instalação
## 🚀 Iniciando com Docker
🚀 Guia Rápido - Execução e Testes
▶️ Como Rodar o Projeto
Opção 1: Docker (Recomendado)
```bash
git clone git@github.com:ewertoncodes/desconto-inss.git
cd desconto-inss
# 1. Iniciar containers
docker-compose up -d --build
# 2. Configurar banco de dados
docker-compose exec web bundle exec rails db:create db:migrate db:seed
```
Acesse: http://localhost:3000
```bash
# 1. Instalar dependências
bundle install && yarn install
# 2. Configurar banco
rails db:create db:migrate db:seed
# 3. Iniciar servidor
./bin/dev
```
Acesse: http://localhost:3000
```bash
# Docker
docker-compose run -e RAILS_ENV=test web bundle exec rspec
# Local
rails db:test:prepare && rspec
```