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 3 years have passed since last update.

Laravel でクローンして実行する

0
Posted at

Laravelプロジェクトをcloneして実行するには、以下の手順を実行する必要があります。

  1. Gitをインストールする(既にインストールされている場合はスキップできます)。
  2. Gitを使用して、Laravelプロジェクトのリポジトリをクローンします。
    git clone <リポジトリURL>
    
  3. プロジェクトのルートディレクトリに移動します。
    cd <プロジェクト名>
    
  4. Composerをインストールする(既にインストールされている場合はスキップできます)。
  5. Composerを使用して、プロジェクトの依存関係をインストールします。
    composer install
    
  6. .env.exampleファイルを.envにリネームします。
    cp .env.example .env
    
  7. アプリケーションキーを生成します。
    php artisan key:generate
    
  8. データベースを設定します。
    php artisan migrate
    
  9. プロジェクトを起動します。
    php artisan serve
    

これで、Laravelプロジェクトが正常にクローンされ、実行されるはずです。必要に応じて、環境に合わせてコマンドを調整してください。

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?