一直想知道drupal的工程師們的開發工作環境
前些年在網路上搜尋 沒發現比較詳細/有系統的資料
就擱著; 近日搜尋竟發現這篇大約9個月前(2011.March?)發表的'好文章'('網站')
"the ideal druapl development environment" (TIDDE 理想的drupal開發環境)
http://sites.google.com/site/theidealdrupalenvironment
by Kipp Watson
推薦給有心人 ...
[ref]
http://sites.google.com/site/theidealdrupalenvironment
http://drupal.org/project/quickstart
About Kipp Watson
http://sites.google.com/site/theidealdrupalenvironment/about-the-author-kipp-elliott-watson
Kipp Watson on peopleperhour.com/freelancers
http://www.peopleperhour.com/freelancers/kipp_watson/drupal_website_developer/45947
Thursday, December 29, 2011
drush 是什麼?
//=== drush
drupal shell written in php and bash script?
"Drush is a shell-based application used to control, manipulate, and administer Drupal sites".
[shell 指的就是像Windows的Command prompt 或者 Linux/Unix的terminal console,
提供一個文字的工作環境及介面, 可以輸入一些命令給os , 執行一些工作, 得到一些回應 ...]
Originally, drush was developed as a module of drupal but the new drush is not a module of drupal anymore.
needs CLI-mode php environment
//=== drush make
"... an extension to drush that can create a ready-to-use
drupal site, ..."
drush 5 釋出後 drush make 併入 drush core 裏.
//=== drush and dript
//=== drush installation
可以透過 Pear channel 來安裝 drush.
Pear channel 是啥?
安裝完drush之後 再用drush來安裝drupal?
[ref]
drush source code: README.txt, drush.php, drush
http://www.drush.org
http://drupal.org/project/drush
http://drupal.org/project/drush_make
http://groups.drupal.org/drush
http://drupal.org/documentation/modules/dript
one maintainer for drush:
Moshe Weitzman, http://drupal.org/user/23
drupal shell written in php and bash script?
"Drush is a shell-based application used to control, manipulate, and administer Drupal sites".
[shell 指的就是像Windows的Command prompt 或者 Linux/Unix的terminal console,
提供一個文字的工作環境及介面, 可以輸入一些命令給os , 執行一些工作, 得到一些回應 ...]
Originally, drush was developed as a module of drupal but the new drush is not a module of drupal anymore.
needs CLI-mode php environment
//=== drush make
"... an extension to drush that can create a ready-to-use
drupal site, ..."
drush 5 釋出後 drush make 併入 drush core 裏.
//=== drush and dript
//=== drush installation
可以透過 Pear channel 來安裝 drush.
Pear channel 是啥?
安裝完drush之後 再用drush來安裝drupal?
[ref]
drush source code: README.txt, drush.php, drush
http://www.drush.org
http://drupal.org/project/drush
http://drupal.org/project/drush_make
http://groups.drupal.org/drush
http://drupal.org/documentation/modules/dript
one maintainer for drush:
Moshe Weitzman, http://drupal.org/user/23
Labels:
dript,
drush,
drush make
Sunday, June 26, 2011
Blogger Importer module 快速上手
[Quick hands on Blogger Importer module]
blogger_importer module
requires "drupal querypath module" and "php QueryPath library"
drupal querypath module
http://drupal.org/project/querypath
php QueryPath library
http://querypath.org/
download php QueryPath library
https://github.com/technosophos/querypath
『
QueryPath is a library for searching and manipulating HTML and XML documents. It's like jQuery for PHP. See http://querypath.org for more information.
...
To use QueryPath as a standard PHP library, simply put it somewhere PHP can see it and include QueryPath/QueryPath.php (that's in src/ in the full distro).
...』
...
blogger_importer module
requires "drupal querypath module" and "php QueryPath library"
http://drupal.org/project/querypath
http://querypath.org/
https://github.com/technosophos/querypath
『
QueryPath is a library for searching and manipulating HTML and XML documents. It's like jQuery for PHP. See http://querypath.org for more information.
...
To use QueryPath as a standard PHP library, simply put it somewhere PHP can see it and include QueryPath/QueryPath.php (that's in src/ in the full distro).
...』
- Put querypath module at
sites/all/modules/querypath - then put/replace QueryPath php library at
sites/all/modules/querypath/QueryPath - enable querypath module
- enable blogger_importer module
- Administer :: Content management :: Blogger Importer
...
Friday, June 24, 2011
轉載 Drupal 介紹
轉載自
http://www.slideshare.net/hanamizuki/introduction-to-drupal-5988110?from=ss_embed
[ref]
http://hanamitsuki.com/notes/drupal/76
http://www.slideshare.net/hanamizuki/introduction-to-drupal-5988110?from=ss_embed
Introduction to drupal (中文)
View more presentations from N.n. Chang
[ref]
http://hanamitsuki.com/notes/drupal/76
Labels:
hanamitsuki,
hanamizuki
Sunday, May 29, 2011
管理員常用 Path
0. 網站下線 Off-line
Home › Administer › Site configuration › Site Maintenance › Off-line › Save Configuration
1. 啟動或者關閉某些模組 (Enable/Disable modules)
Home › Administer › Site building › Modules › check/uncheck the target modules › Save Configuration
2. Off-line 模式下登入的 url
http://sitexxx.com/drupaldir?q=user/
3. 升級(Upgrade)/更新(Update)
[Upgrade.txt的步驟摘要]
Home › Administer › Site configuration › Site Maintenance › Off-line › Save Configuration
1. 啟動或者關閉某些模組 (Enable/Disable modules)
Home › Administer › Site building › Modules › check/uncheck the target modules › Save Configuration
2. Off-line 模式下登入的 url
http://sitexxx.com/drupaldir?q=user/
3. 升級(Upgrade)/更新(Update)
[Upgrade.txt的步驟摘要]
- Back up "files" and "sites" directories
- Do not close your browser until the final step is complete.
- Place the site in "Off-line" mode
- Switch to a core theme, such as Garland or Bluemarine.
- Disable all custom and contributed modules.
- Remove all old files and directories from the Drupal installation directory.
- Unpack the new files and directories into the Drupal installation directory.
- Copy the backed up "files" and "sites" directories to the Drupal
installation directory. - Verify the new configuration file
e.g. sites/default/settings.php
sites/example.com/settings.php - Run update.php by
http://sitexxx.com/drupaldir/update.php
Labels:
drupal,
enable module,
off-line,
offline
Saturday, May 28, 2011
administrator 忘記密碼怎麼辦?
[Q] administrator 忘記密碼怎麼辦?
[try]
0. 使用drupal site 的 email notification
(登入失敗後 一般都會有 forgot your password 的連結)
1. 直接更改mysql資料庫中的 'users' table
UPDATE `users` SET pass = MD5('newpwd') WHERE uid=1;
(需要記得資料庫的管理員密碼)
[ref]
http://drupal.org/node/44164
[try]
0. 使用drupal site 的 email notification
(登入失敗後 一般都會有 forgot your password 的連結)
1. 直接更改mysql資料庫中的 'users' table
UPDATE `users` SET pass = MD5('newpwd') WHERE uid=1;
(需要記得資料庫的管理員密碼)
[ref]
http://drupal.org/node/44164
Labels:
sql update,
忘記密碼
Subscribe to:
Comments (Atom)