[Rails] Create an application

Commands in the terminal when creating a Rails app memorandum.

Go to the directory where you want to create the app
% cd ~/ [Directory name]
Created by specifying the app name and Rails version
% rails _6.0.0_new app name-d mysql

▶ Describe the number of the version you want to use in 6.0.0 ▶ "-d mysql" is described when using MySQL from the beginning

Create a DB of app names
% rails db:create

Recommended Posts

[Rails] Create an application
Nuxt.js × Create an application in Rails API mode
How to create an application
Preparing to create a Rails application
[Rails] Create an evaluation function using raty.js
Create authentication function in Rails application using devise
About rails application server
Create an app by specifying the Rails version
Rails6.0 ~ How to create an eco-friendly development environment
Create an EC site with Rails5 ⑤ ~ Customer model ~
Create an EC site with Rails 5 ⑩ ~ Create an order function ~
[Introduction] Try to create a Ruby on Rails application
Create an EC site with Rails5 ⑦ ~ Address, Genre model ~
Create an EC site with Rails 5 ⑨ ~ Create a cart function ~
Create an EC site with Rails5 ⑥ ~ seed data input ~
Rails6 I tried to introduce Docker to an existing application
Implement application function in Rails
rails new application launch command
Rails web server and application server
[Rails] Create an echo bot using the LINE Messaging API.
How to create an application server on an EC2 instance on AWS
What to do when you launch an application with rails
[Rails] Create an email sending function with ActionMailer (complete version)
Create an immutable class with JAVA
Create an EC site with Rails5 ② ~ Bootstrap4 settings, Controller / action definition ~
Create portfolio with rails + postgres sql
Implicit Intent (Running an existing application)
Create an app with Spring Boot 2
Introducing full calendar to Rails application
[Rails Tutorial Chapter 5] Create a layout
Create an Ubuntu bootable USB stick
Create pagination function with Rails Kaminari
About creating an application with springboot
Create a new app in Rails
Create an excel file with poi
Create an easy-to-extend Stream API alternative
Create an app with Spring Boot
[Rails] I tried deleting the application
Chewing Rails Tutorial [Chapter 2 Toy Application]
Rails Tutorial Extension: I tried to create an RSS feed function
Install Rails in the development environment and create a new application
Create My Page with Rails devise
Run an application made with Java8 with Java6
Easy way to create an original logo for your application (easy with your smartphone)
[Personal application development work memo] Create an image list page like Instagram
Create an EC site with Rails5 ③-Set model associations and other things-
[Ruby on Rails] Creating an inquiry form
Let's create an instance with .new yourself. .. ..
Create an infinite scroll with Infinite Scroll and kaminari
[Java] Create an executable module with Gradle
[Rails6] Create a new app with Rails [Beginner]
Create a simple web application with Dropwizard
Create Rails 6 + MySQL environment with Docker compose
Introduce two-factor authentication to your Rails application
Introduced Vue.js to an existing Rails app
How to publish an application on Heroku
[Rails withdrawal] Create a simple withdrawal function with rails
Ruby on Rails controller create / delete command
Ruby on Rails application new creation command
[Rails] Let's create a super simple Rails API
[rails] How to create a partial template