{"id":24961018,"url":"https://github.com/nullnull/nuxt_on_rails_on_docker","last_synced_at":"2025-04-10T21:22:39.122Z","repository":{"id":40231783,"uuid":"151814679","full_name":"nullnull/nuxt_on_rails_on_docker","owner":"nullnull","description":"A powerful template with the minimun you need to start to work with Rails 6.0 + Nuxt.js 2.9","archived":false,"fork":false,"pushed_at":"2023-01-19T11:19:50.000Z","size":566,"stargazers_count":14,"open_issues_count":36,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T06:03:16.322Z","etag":null,"topics":["docker","gke","kubernetes","nuxtjs","rails","selenium"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/nullnull.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}},"created_at":"2018-10-06T07:14:38.000Z","updated_at":"2023-10-26T13:35:07.000Z","dependencies_parsed_at":"2023-01-28T19:00:25.706Z","dependency_job_id":null,"html_url":"https://github.com/nullnull/nuxt_on_rails_on_docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullnull%2Fnuxt_on_rails_on_docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullnull%2Fnuxt_on_rails_on_docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullnull%2Fnuxt_on_rails_on_docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullnull%2Fnuxt_on_rails_on_docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nullnull","download_url":"https://codeload.github.com/nullnull/nuxt_on_rails_on_docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248299029,"owners_count":21080450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docker","gke","kubernetes","nuxtjs","rails","selenium"],"created_at":"2025-02-03T08:45:17.209Z","updated_at":"2025-04-10T21:22:39.107Z","avatar_url":"https://github.com/nullnull.png","language":"Ruby","readme":"# Docker + Rails + Nuxt.js\n[![CircleCI](https://circleci.com/gh/nullnull/nuxt_on_rails_on_docker.svg?style=svg)](https://circleci.com/gh/nullnull/nuxt_on_rails_on_docker)\n[![Maintainability](https://api.codeclimate.com/v1/badges/2e1f1bb8632cdfa0923e/maintainability)](https://codeclimate.com/github/nullnull/nuxt_on_rails_on_docker/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/2e1f1bb8632cdfa0923e/test_coverage)](https://codeclimate.com/github/nullnull/nuxt_on_rails_on_docker/test_coverage)\n\nA powerful template with the minimun you need to start to work with Rails 6.0 + Nuxt.js 2.9 :tada:\nPlease clone this repository and use as starter template if you want to save your time.\n\nThis repository contains following settings.\n\n* Nuxt.js 2.9 (with SSR)\n* Ruby on Rails 6.0 (as API Server)\n* Docker\n* settings for Google Kubernetes Engine\n* CircleCI, Code Climate\n* RSpec + Capybara + Selenium + Headless Google Chrome (for E2E testing)\n\n\n## Setup for local development\nPlease install [Docker](https://store.docker.com/search?type=edition\u0026offering=community) on your local environment before setup.\n\n```sh\n$ git clone git@github.com:nullnull/nuxt_on_rails_on_docker.git\n$ cd nuxt_on_rails_on_docker\n$ docker-compose build\n$ docker-compose run --rm rails bin/setup\n$ docker-compose run --rm nuxt yarn install\n$ docker-compose up -d\n$ open http://localhost:3000 # nuxt\n$ open http://localhost:5000/tasks # rails\n```\n\nTo shutdown server and remove containers\n\n```sh\n$ docker-compose down\n```\n\n\n## Testing on local environment\n```sh\n$ docker-compose rails bundle exec rspec spec\n```\n\n### Feature Spec\nYou can use [VNC server](https://qiita.com/yszk0123/items/840f16ed388fb52b0e21) to monitor selenium while testing. Run `open vnc://localhost:5900/` and type `secret` for password.\n\n\n## Deploy to Google Kubernetes Engine(GKE)\nBefore deployment, please setup your settings for GKE and CloudSQL.\n\n```bash\nsh kube/deploy.sh\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullnull%2Fnuxt_on_rails_on_docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullnull%2Fnuxt_on_rails_on_docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullnull%2Fnuxt_on_rails_on_docker/lists"}