1. Environment Eccube
2. Check version system
3. Install Eccube
- clone source from github
$ git clone git@github.com:EC-CUBE/ec-cube.git
- access source directory
$ cd ec-poppin
- Install packages
$ composer install
- copy and update .env file
APP_ENV=dev
APP_DEBUG=1
DATABASE_URL=mysql://{eccubeuser}:{eccubepassword}@localhost:3306/{eccubedb}
MAILER_DSN=smtp://{yourUser}:{yourPasswor}@smtp.gmail.com:587
TRUSTED_HOSTS=^127\.0\.0\.1$,^localhost$,^{your-domain-name}$
* Note:
- For develop
APP_ENV=dev
APP_DEBUG=1
- For Production
APP_ENV=prod
APP_DEBUG=0
MAILER_DSN: can use mailhog, maildev, mailtrap, smtpGmail..."
- config system in if you want change info
$ ec-poppin\codeception\acceptance\config.ini
- install project
$ php bin/console eccube:install
4. Erros can happen
- [ERROR] The command ""bin/console" doctrine:database:create --if-not-exists" failed. happen in window when run php bin/console eccube:install => fix https://doc4.ec-cube.net/quickstart/command_install find: Windows 環境を使用する場合
- Cache erros:
=> run cli:
bin/console eccube:generate:proxies
bin/console eccube:schema:update --force --dump-sql
bin/console cache:clear
Thank you
No comments:
Post a Comment