LoginSignup
1
0

More than 5 years have passed since last update.

【2018/6/15時点】EC-CUBEのSymfony検証ブランチで画面を表示させるまで

Last updated at Posted at 2018-01-11

概要

EC-CUBEではSymfony検証が行われています。
簡単にインストールできるコマンドが用意されましたので記事を更新します。
こちらのPRこちらのPRを参考にしました。

手順

  1. こちらからEC-CUBEのリポジトリをclone git clone https://github.com/EC-CUBE/ec-cube.git
  2. ディレクトリを移動 cd ec-cube
  3. experimental/sf のブランチをチェックアウト git checkout experimental/sf
  4. ec-cubeのインストールコマンドを実行。色々聞かれますが、そのままエンターでOK。 bin/console eccube:install
  5. サーバの起動 bin/console server:run
  6. ブラウザでアクセス http://127.0.0.1:8000/

DBごとのDATABASE_URL設定例

DATABASE_URL=sqlite:///%kernel.project_dir%/var/eccube.db
DATABASE_URL=postgresql://postgres@127.0.0.1:5432/eccube
DATABASE_URL=mysql://root:password@127.0.0.1:3306/eccube
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