Upgrade to Pro — share decks privately, control downloads, hide ads and more …

20170621LaravelでDeployer

 20170621LaravelでDeployer

Laravel/Vue勉強会#1

moyashidaisuke

June 22, 2017
Tweet

More Decks by moyashidaisuke

Other Decks in Programming

Transcript

  1. ৭ʑͳσϓϩΠ • ௚઀αʔόʹsshͯ͠ฤू • FTPͰΞοϓϩʔυ • खಈͰίϚϯυ࣮ߦ • ͓ख੡shell •

    σϓϩΠπʔϧˡࠓճ͸͜Εͷ࿩ • σϓϩΠαʔϏεʢAWS CodeDeployͱ͔ʣ
  2. --- a/azk/bootstrap/app.php +++ b/azk/bootstrap/app.php @@ -41,6 +41,22 @@ $app->singleton( App\Exceptions\Handler::class

    ); + +//https://stackoverflow.com/questions/31841392/change-the-storage-path-in-laravel-5 +/* +|-------------------------------------------------------------------------- +| Set Storage Path +|-------------------------------------------------------------------------- +| +| This script allows us to override the default storage location used by +| the application. You may set the APP_STORAGE environment variable +| in your .env file, if not set the default location will be used +| +*/ +// symlinkͰσϓϩΠ͍ͯ͠ΔͱɺγϜϦϯΫઌͷϑΝΠϧΛࢀরͯ͠͠·͏ͷͰɺ +// shareΛࢦ͢Α͏ʹઃఆϑΝΠϧͰม͑Δ +$app->useStoragePath(base_path() . env("STORAGE_PATH")); +