LoginSignup
0

More than 3 years have passed since last update.

EC-CUBE4でインストールしてテストデータ作ってサーバを起動してくれるコマンドを作った

Last updated at Posted at 2018-07-26

.zshrcに記述すれば使える。
DBへの接続情報とかは適宜変えて利用してください。

function bc-eifr (){
    bin/console e:i --no-interaction
    bin/console e:f:g --products=1 --orders=1 --customers=1
    psql -h localhost -U postgres eccube -c "UPDATE dtb_customer SET email = 'hogehoge@example.com' where id = 1;"
    bin/console s:r --env=dev
}

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