Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
4
Help us understand the problem. What is going on with this article?
@lighty

EC-CUBEをmac内にインストールする方法

More than 5 years have passed since last update.

テストでEC-CUBEをmac内にインストールする方法

mysqlの初期設定まで

自分の環境にbrewでmysql51が入っていたので、5.6をインストール&リンク

brew install mysql
brew unlink mysql51
cd /usr/local/var/mysql
rm -f ib_logfile*
rm ibdata1
# 余計なものがなければ以下だけで大丈夫なはず
brew link mysql
mysql.server start
mysql -uroot
データベース作成
create database eccube_db;
create user eccube_db_user;
GRANT ALL ON eccube_db.* TO 'eccube_db_user'@'localhost' IDENTIFIED BY 'eccube_db_user';

EC-CUBEのインストール

  • ソースコードを本家サイトからダウンロード http://www.ec-cube.net/download/
    • ユーザー登録が必要(ダルい)
  • zipファイルを解凍
  • phpのビルトインサーバで起動
unzip eccube-2.13.2.zip 
cd eccube-2.13.2/html/
php -S localhost:8000 # 5.3以前だと動かないはず
open http://localhost:8000/
4
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
4
Help us understand the problem. What is going on with this article?