Inside the folder of application execute:
docker-compose up --build -d
execute this command for development:
docker exec municipies-census_web_1 bundle e rails db:create RAILS_ENV=development
execute this command for test:
docker exec municipies-census_web_1 bundle e rails db:create RAILS_ENV=test
execute this command for development:
docker exec municipies-census_web_1 bundle e rails db:migrate RAILS_ENV=development
execute this command for test:
docker exec municipies-census_web_1 bundle e rails db:migrate RAILS_ENV=test
docker exec municipies-census_web_1 bundle e rails search:create_index RAILS_ENV=development
access http://app.municipies-census.localhost or access http://localhost:3010
docker exec municipies-census_postgres_1 psql -U company -c 'CREATE DATABASE municipies_census_development;'
docker exec municipies-census_web_1 bundle e rails tailwindcss:build
docker exec municipies-census_web_1 bundle e rails search:populate_index
Endereço
2.1 Campos: CEP, Logradouro, complemento, bairro, cidade, UF e código IBGE
;