初始化 Laravel 项目的批处理文件

cls

@echo off

@echo Make sure the database has been created

pause

echo init start...

echo 1. copy env file

copy .env.example .env

echo.

echo 2. install packages

call composer install

echo.

echo 3. generate project keys

php artisan key:generate

php artisan jwt:secret

echo.

echo 4. migrate database

php artisan migrate --seed

echo.

echo 5. create storage link

php artisan storage:link

echo.

echo done.

Revisions

  • 2019年4月23日 @ 13:31:41 [当前版本] by Anson
  • 2019年4月23日 @ 13:31:28 by Anson

Revision Differences

There are no differences between the 2019年4月23日 @ 13:31:28 revision and the current revision. (Maybe only post meta information was changed.)

No comments yet.

发表评论