0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Ruby on Railsでアプリを作成してみた【recipegram】

Last updated at Posted at 2022-01-23

ER図

gemとは?

便利な機能を簡単に実装できる

①device(ログイン機能)

②bulma-rails(デザイン)

③refile
(ファイルのアップロード先を柔軟んい設定できる。画像のサムネイルを生成できる)

④refile-mini_magick(refileと同じ)

環境開発の構築

rails new <プログラム名>
cd <プログラム名>
//Gemfileにコードを追加し、『bundle add devise』する

gem 'devise'
gem "refile", require: "refile/rails", github: 'manfe/refile'
gem "refile-mini_magick"
gem "bulma-rails"
// app/assets/stylesheets/application.css

@import 'bulma';

①device(ログイン機能)

rails g devise:install
rails g devise:views

参考サイト

【プログラミング入門】Ruby on Rails でウェブアプリを作ってみよう ~ PART 1(イントロダクション)~ Let's build with Ruby on Rails
【プログラミング入門】Ruby on Rails でウェブアプリを作ってみよう ~ PART 2(実装①)~ Let's build with Ruby on Rails
Action Cable With Devise User Accounts | Ruby On Rails 7 Tutorial

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?