Giter Club home page Giter Club logo

gotcha's Introduction

  • download all files first
  • cd project directory and [composer install]
  • プロジェクト用のDBを手動で構築する。
  • .env.exampleを.envに変更して、対応するDB設定のところを自分のDB情報に変更する。
  • php artisan migrateコマンドでテーブルを構築する。
  • php artisan storage:link コマンドで、画像ファイルのルートを公開する。
  • php artisan serve でテスト用のサーバーを起動する。(これはローカルで構築するときだけ必要です。)

マイグレーションが実行されると、以下のアカウントは自動的にDBに挿入される。 初期アカウント: mail: [email protected] password: admin

AWSのEC2にガチャをデプロイ手順整理:

  1. AWSのEC2インスタンスを用意する。以下のURLを参照して、LAMP環境を構築する。 https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/ec2-lamp-amazon-linux-2.html
  2. 上記のドキュメントでインストールされたPHPバージョンは7.2なので、最低限7.4までアップグレードする必要があります。 https://qiita.com/nagahama/items/2fdc820791bee5d564ca
  3. PHPのアップロードファイルのサイズ制限を解除する必要があります。 https://www.rumahtulip.nl/blog/index.php/apache/how-to-increase-upload-file-size-limit-on-php-apache https://www.zbame.me/archives/36

gotcha's People

Contributors

kitinc avatar kikutou avatar rexceed-chenjunyan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.