在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):imjakechapman/CraftCMS-Boilerplate开源软件地址(OpenSource Url):https://github.com/imjakechapman/CraftCMS-Boilerplate开源编程语言(OpenSource Language):PHP 85.0%开源软件介绍(OpenSource Introduction):CraftCMS BoilerplateDue to some reasons given by P&T the /craft/app folder has been removed, make sure if you clone this repo to replace that folder from the base craft download Installation
db.php
// Local database info
return array(
'server' => 'localhost',
'user' => 'username',
'password' => 'password',
'database' => 'local-db-name'
);
general.php
/*
* Local Config Override
*
* Overrides added here will get appended to the end of the
* custom config array for all environments: '*'
*/
return array(
// Give us more useful error messages
'devMode' => true,
// Route ALL of the emails that Craft
// sends to a single email address.
'testToEmailAddress' => '[email protected]',
'translationDebugOutput' => false,
'useCompressedJs' => true,
'cacheDuration' => 'P1D',
'cooldownDuration' => 'PT5M',
'maxInvalidLogins' => 5,
'invalidLoginWindowDuration' => 'PT1H',
'phpMaxMemoryLimit' => '256M',
// Member login info duration
// http://www.php.net/manual/en/dateinterval.construct.php
'userSessionDuration' => 'P101Y',
'rememberedUserSessionDuration' => 'P101Y',
'rememberUsernameDuration' => 'P101Y',
); Now that you've put the correct database credentials in db.php, head on over to /admin and if all is well will start the installation process GulpjsIf you don't already have Node installed head over to http://nodejs.org/download/ via the command line:
feel free to modify the .scss-lint.yml file to your hearts content on how to lint you scss files. .htaccess and .gitignoreThe default .htaccess is packed with a bunch of goodies, again feel free to modify to your hearts content. Just make sure to add a period before the file name to make sure its read properly. The default .gitignore file is setup to track unecessary folders and files, most of it involves not tracking random config files computers will add, as well as node_modules and some stuff within the craft/storage folder |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论