1
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?

学習109日目

Posted at

テーマ

laravelとrailsの対応コマンドまとめ

前提

laravelで開発中

内容

サーバ起動

rails

rails server

laravel

php artisan serve

コンソール実行

rails

rails console

php

php artisan tinker

新規プロジェクト作成

rails

rails new app_name

laravel

laravel new app_name

コントローラ作成

rails

rails generate controller Users

laravel

php artisan make:controller UsersController

モデル作成

rails

rails generate model User

laravel

php artisan make:model User

マイグレーション実行

rails

rails db:migrate

laravel

php artisan migrate

テスト実行

rails

rails test

laravel

php artisan test

コメント

上記以外にも多くあるので、使っていく中で覚える

1
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
1
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?