Giter Site home page Giter Site logo

rails's Introduction

環境構築 #debian rails+postgresql

参考:https://vitux.com/installing-and-configuring-ruby-on-rails-on-debian-10/

gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -
curl -sSL https://get.rvm.io | bash -s stable --ruby
source /usr/local/rvm/scripts/rvm  # Setup RVM source folder

Rails scaffoldソース解析(重要)

https://codezine.jp/article/detail/9914

トラブル1:yarnがインストールできない

対策:https://classic.yarnpkg.com/en/docs/install/#debian-stable

トラブル2:外からアクセスできない

rails s -b localhost  -p 80
→ rails s -b 0.0.0.0  -p 80

rails db:setup PG::ConnectionBad: FATAL: role "root" does not exist

create role root with createdb login password 'rockon123' ;

Rails scaffoldの使い方

https://www.javadrive.jp/rails/scaffold/index1.html

Rail devise,scaffold 組み合わせの使い方

https://qiita.com/takatoshi0905/items/a39b36ed4720880d4b59

Rails ルーティング 基礎 まとめ

https://qiita.com/akk11_k/items/a6a21beb2b736ebbc147

## MySQLとPostgreSQLコマンド比較表 https://qiita.com/aosho235/items/c657e2fcd15fa0647471

Rails deviseで使えるようになるヘルパーメソッド一覧

https://qiita.com/tobita0000/items/866de191635e6d74e392

configure_permitted_parametersメソッドってなんぞや

https://taiga-onrails0329.hatenablog.com/entry/2019/02/04/222812

deviseの使い方をマスターしてログイン認証機能を実装しよう! (mail)

https://pikawaka.com/rails/devise

Railsのフォーム基本的な作成方法まとめ

https://qiita.com/ykyk1218/items/2541a313aac0f0e5d81a

devise導入からユーザーのプロフィール画面を作成するまで

https://qiita.com/ryokky59/items/71b5a853989721b89c6e

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.