{"id":15454267,"url":"https://github.com/dodonki1223/snippet","last_synced_at":"2026-01-07T06:40:41.126Z","repository":{"id":40006449,"uuid":"266637716","full_name":"dodonki1223/snippet","owner":"dodonki1223","description":"「【Rails / Vue.js】Snippet アプリを作ってみよう！」の写経用リポジトリ","archived":false,"fork":false,"pushed_at":"2023-01-19T19:10:57.000Z","size":1268,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T10:28:28.473Z","etag":null,"topics":["circleci","docker","docker-compose","rails","rails6","techpit","vue","vuetify"],"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/dodonki1223.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":"2020-05-24T22:49:31.000Z","updated_at":"2021-10-31T14:22:51.000Z","dependencies_parsed_at":"2023-02-11T17:30:48.452Z","dependency_job_id":null,"html_url":"https://github.com/dodonki1223/snippet","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/dodonki1223%2Fsnippet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Fsnippet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Fsnippet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Fsnippet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dodonki1223","download_url":"https://codeload.github.com/dodonki1223/snippet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246009029,"owners_count":20708880,"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":["circleci","docker","docker-compose","rails","rails6","techpit","vue","vuetify"],"created_at":"2024-10-01T22:02:01.195Z","updated_at":"2026-01-07T06:40:41.101Z","avatar_url":"https://github.com/dodonki1223.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snippet\n\nTechpitにて公開されている [【Rails / Vue.js】Snippet アプリを作ってみよう！](https://www.techpit.jp/p/rails-vue-js-snippet) の写経用リポジトリです  \nどの環境でも実行できるようにDocker化して開発しやすいようにカスタマイズしています  \nまた教材が公開された時には既に情報が古かったので [Vue.js](https://jp.vuejs.org/index.html) と [Vuetify](https://vuetifyjs.com/ja/) のバージョンは 2020年05月25日の最新バージョンで実装しています\n\n![00_snippet](https://raw.githubusercontent.com/dodonki1223/image_garage/master/snippet/00_snippet.gif)\n\n## 環境\n\n環境については以下の通りである\n\n| 環境    | バージョン  |\n|:--------|:-----------:|\n| Rails   | 6.0.2.1     |\n| Ruby    | 2.6.5       |\n| Bundler | 2.1.2       |\n| SQLite  | 3.27.2      |\n| Node.js | 12          |\n| Yarn    | 12          |\n| Vue.js  | 2.6.11      |\n| Vuetify | 2.0         |\n\n## 開発\n\n基本的に Docker を使用して開発を行います\n開発用に `snippet`、`runner` の2つのサービスを作成しているのでこの2つのサービスを使用して開発を行っていきます\n\n### snippet を起動する\n\n下記コマンドを実行後、[http://localhost:3000/](http://localhost:3000/) にアクセスしてください\n\n```shell\n$ docker-compose up snippet\n```\n\n### runnerを起動する\n\nテストやマイグレーションやrakeタスクなどのコマンドを実行するためのサービスになります\nただしテストを実行する時は `RAILS_ENV=test bundle exec rspec --format progress` で実行すること\n\n```shell\n$ docker-compose run --rm runner\n```\n\n## その他\n\n### 開発環境を削除する\n\nコンテナ、イメージ、ボリューム、ネットワークをすべて一括で削除します\n\n```shell\n$ docker-compose down --rmi all --volumes\n```\n\n参考記事：[《滅びの呪文》Docker Composeで作ったコンテナ、イメージ、ボリューム、ネットワークを一括完全消去する便利コマンド - Qiita](https://qiita.com/suin/items/19d65e191b96a0079417)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodonki1223%2Fsnippet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdodonki1223%2Fsnippet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodonki1223%2Fsnippet/lists"}