Last active
December 20, 2017 12:08
-
-
Save h-sakano/348ea04d45548323f5ac98a9588c6223 to your computer and use it in GitHub Desktop.
EC-CUBEでフロント画面テンプレートを追加 ref: https://qiita.com/h-sakano/items/d593f3ba85de92452fec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cp -r app/template/default/ app/template/[テンプレートコード]/ | |
$ cp -r src/Eccube/Resource/template/default/* app/template/[テンプレートコード]/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mysql -u [DB_USER] -p | |
Enter password: [PASSWORD] | |
mysql > use [DB_NAME]; | |
mysql > INSERT INTO `dtb_template` (`device_type_id`, `template_code`, `template_name`, `create_date`, `update_date`) VALUES ('10', '[テンプレートコード]', '[テンプレート名]', NOW(), NOW()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mysql -u [DB_USER] -p | |
Enter password: [PASSWORD] | |
mysql > use [DB_NAME]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql > INSERT INTO `dtb_template` (`device_type_id`, `template_code`, `template_name`, `create_date`, `update_date`) VALUES ('10', '[テンプレートコード]', '[テンプレート名]', NOW(), NOW()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment