{"id":21921776,"url":"https://github.com/baban/jp_fullstack","last_synced_at":"2026-04-11T12:40:30.856Z","repository":{"id":7648448,"uuid":"9009126","full_name":"baban/jp_fullstack","owner":"baban","description":"ログイン機能、管理画面などを備えたrailsプロジェクトのひな形","archived":false,"fork":false,"pushed_at":"2013-03-31T23:07:40.000Z","size":10516,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T10:26:33.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/baban.png","metadata":{"files":{"readme":"README.rdoc","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":"2013-03-25T15:21:04.000Z","updated_at":"2013-11-27T22:20:16.000Z","dependencies_parsed_at":"2022-08-23T15:51:13.909Z","dependency_job_id":null,"html_url":"https://github.com/baban/jp_fullstack","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/baban%2Fjp_fullstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baban%2Fjp_fullstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baban%2Fjp_fullstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baban%2Fjp_fullstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baban","download_url":"https://codeload.github.com/baban/jp_fullstack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244945594,"owners_count":20536295,"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":[],"created_at":"2024-11-28T20:26:53.639Z","updated_at":"2026-04-11T12:40:25.806Z","avatar_url":"https://github.com/baban.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"== jp_ fullstack について\n\njp_fullstackはrailsを拡張して\nrails標準での搭載はされていないものの日本の環境で”普通これは使うだろう”と思われる\n一般的なwebアプリケーションを高速で作成するために作られた\n作成のひな形です\n\n主にハッカソンなどで、本当に作りたいサービス部分だけを作って\nその他の事に関する準備や検証などを出来るだけ省略して行えるようにするために作成しました　\n\nこちら側で標準で準備している機構は以下のものです\n1. ユーザー登録機能とその画面(device仕様)\n2. facebook、twitter、google+ でのユーザー登録機能とその手順\n3. 基本的な管理画面と統計機能(typus仕様)\n\nと、それらの機能をミス無く構築できるようにするための手順書です\nこれにさらに自動構築スクリプトがあれば最高なのですが、まだ準備できていません\n\n== 目次\n\n- 構築\n- 仮想マシンの準備\n- OSのインストール\n- ruby実行環境のインストール\n- railsのインストール\n- jp_fullstackの準備\n- facebook,twitter連携機能の作成 \n\n== 構築手順\n\n=== 仮想マシンの準備\n\nrailsはrubyで実行できるため、windows,mac,linux環境それぞれで動きますが\n経験論として、windows環境上での直接のrails開発はオススメ出来ません\n理由はいくつかありますが、一言でまとめると”その方が後で困らない”からです\nとはいえ、windows環境がデスクトップというのが世の中でも大半なので\nwindows環境の方は仮想マシンでlinux環境を構築して、そこにrailsをインストール\nファイルへの管理はsambaをインストールしてそこから経由することで\n出来るだけコマンドを打たないで日常の開発ができるようにします\n\n=== OSの準備\n\nLinuxにはRedHat系とDebian系と言われる２つの系列があります\nそれぞれ基本的なファイル操作などのコマンドは同じですが\nパッケージのインストールのコマンドやセキュリティ系のパッケージ等\nでそれぞれ違いがあります\n\n現実的な選択肢は、RedHat系ではCentOS\nDebian系ではUbuntuが一番シェアがあるでしょう\n現場では、CentOSが実際の業務でも一番良く使われているので\n基本これを柱として解説をしていきます\n\n==== CentOSのインストール\n\n\n==== CentOS環境での構築手順 \n\n環境は\n\nCentOS release 6.4 (Final)\n\nselinuxとFirewallのオフで行なっています\n\nyum -y update\n\n現在の環境のチェック\n\ncat /etc/redhat-release\n#CentOS release 5.8 (Final)\n/usr/sbin/httpd -v\n# /usr/sbin/httpd -v\nmysql --version\n# mysql  Ver 14.12 Distrib 5.0.95, for redhat-linux-gnu (i686) using readline 5.1\nphp -v\n# Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies\n\n==== ユーザーの作成\n\nrootでログイン\n\nadduser rails_user\npasswd rails_user\n\nvisudoで設定ファイルを開いて、92行目のコメントアウトを外す\n\nvisudo\n\n## Same thing without a password\n%wheel  ALL=(ALL)       NOPASSWD: ALL\n\nvi /etc/group\n\n\n11行目のグループ設定に自分のユーザー名前を追加\n\nwheel:x:10:root,rails_user\n\n\nいらないサービスを停止\n\nchkconfig atd off\nchkconfig bluetooth off\nchkconfig cpuspeed off\nchkconfig cups off\nchkconfig smartd off\nyum -y remove cpuspeed smartd bluetooth\n\nここから外部のrpm のとり込み設定\n\nyum環境を構築\n\npwd # /rootにいるか確認\nmkdir rpm\ncd rpm/\n\n===== Dagリポジトリ追加\n\n=== ruby実行環境のインストール\n=== railsのインストール \n\n=== jp_fullstackの準備\n=== Sambaの設定\n\n=== Passengerの設定\n\n== チュートリアル\n\n=== ソーシャルログイン機能の開発\n==== Facebookログインの作成\n==== Twitterログインの作成\n==== Google+ログインの作成\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaban%2Fjp_fullstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaban%2Fjp_fullstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaban%2Fjp_fullstack/lists"}