{"id":18867901,"url":"https://github.com/renanrboliveira/wit-cart","last_synced_at":"2026-04-29T09:32:30.835Z","repository":{"id":143186161,"uuid":"108904426","full_name":"renanrboliveira/wit-cart","owner":"renanrboliveira","description":"Test for witliving","archived":false,"fork":false,"pushed_at":"2017-10-31T15:06:17.000Z","size":191,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T18:48:55.603Z","etag":null,"topics":["codeclimate","rails","rspec-rails","ruby","travis-ci"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/renanrboliveira.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-30T20:24:57.000Z","updated_at":"2023-03-05T07:29:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"ecc46600-4358-4baa-b0b1-0cfa15f15f40","html_url":"https://github.com/renanrboliveira/wit-cart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/renanrboliveira/wit-cart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanrboliveira%2Fwit-cart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanrboliveira%2Fwit-cart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanrboliveira%2Fwit-cart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanrboliveira%2Fwit-cart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renanrboliveira","download_url":"https://codeload.github.com/renanrboliveira/wit-cart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renanrboliveira%2Fwit-cart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32419927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codeclimate","rails","rspec-rails","ruby","travis-ci"],"created_at":"2024-11-08T05:11:48.191Z","updated_at":"2026-04-29T09:32:30.816Z","avatar_url":"https://github.com/renanrboliveira.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Documenation\n[![Build Status](https://travis-ci.org/renanrboliveira/wit-cart.svg?branch=master)](https://travis-ci.org/renanrboliveira/wit-cart)\n[![Maintainability](https://api.codeclimate.com/v1/badges/3ec9fa1c98d0a7845be0/maintainability)](https://codeclimate.com/github/renanrboliveira/wit-cart/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/3ec9fa1c98d0a7845be0/test_coverage)](https://codeclimate.com/github/renanrboliveira/wit-cart/test_coverage)\n\n\nWit pratical test\n\n---\n\n### Requirements ###\n\n* **[Ruby 2.4.2](https://www.ruby-lang.org/en/)**\n* **[Rails 5.1.4](http://guides.rubyonrails.org/)**\n* **[PostgreSQL 9.6](https://www.postgresql.org/)**\n\n## First step\nYou can choose use the [traditional installation](#traditional-installation) **or** use the project with [Docker](#docker-optional-installation).\n\n\n## Traditional Installation\n\nInstall RVM: [see RVM installation guide](http://rvm.io).\n\n### Install Ruby\n```sh\n$ rvm install ruby-2.4.2\n```\n### Install nodejs\n```sh\ncurl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -\nsudo apt-get install -y nodejs\n```\n\n### Install bundler\n```sh\n$ gem install bundler --no-ri --no-rdoc\n```\n\n### Perform bundle install\n```sh\n$ bundle install\n```\n\n### Install PostgreSQL\n\n*Ubuntu 16.10*\n\n```sh\n$ sudo add-apt-repository \"deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main\"\n$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -\n$ sudo apt-get update\n$ sudo apt-get install postgresql-9.6\n```\n*Or see PostgreSQL installation [WIKI](https://wiki.postgresql.org/wiki/Detailed_installation_guides)*.\n\n### Setup your .env(s)\n\n```bash\n$ cp -pRfv .env.production.sample .env.production\n$ cp -pRfv .env.development.sample .env.development\n$ cp -pRfv .env.test.sample .env.test\n```\nUpdate your .env.prouction, .env.development or .env.test if necessary.\n\n### configure bundle for postgresql\n```sh\n$ bundle config build.pg --with-pg-config=/path/to/pg_config\n```\n\n### Configure the database development\n```sh\n$ bundle exec rake db:create\n$ bundle exec rake db:migrate\n```\n\n\n### Run application\n```sh\n$ bundle exec rails s -b 0.0.0.0\n```\n\n### Testing\n\n**Configure the database tests**\n```sh\n$ RAILS_ENV=test bundle exec rake db:create \u0026\u0026 bundle exec rake db:migrate \u0026\u0026 bundle exec rake db:test:prepare\n```\n\n**Rspec**\n```sh\n$ bundle exec rspec\n```\n\n## Docker (optional installation)\n**Install Docker [here](https://docs.docker.com/engine/installation/)**\n\nBuild images:\n```sh\n$ make rebuild\n```\n\nCreate databases:\n```sh\nmake docker-createdb\n```\n\nStart the application:\n```sh\n$ make up\n```\n\nIf you need use another instance of application in Docker (for run the rails console for example):\n```sh\nmake bash\n```\n\nTo finish all Docker instances:\n```sh\n$ make down\n```\n\n**Access**: [http://localhost:3000](http://localhost:3000)\n\n**pgAdmin4**: [http://localhost:5050](http://localhost:5050)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenanrboliveira%2Fwit-cart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenanrboliveira%2Fwit-cart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenanrboliveira%2Fwit-cart/lists"}