Generate dummy content in drupal via drush

Prerequisite :

1. Installed drupal.
2. Installed drush.
3. Having internet connectivity

How to generate content:
Go to drupal root folder

 cd /var/www/drupal7 

Download devel module

 drush dl devel -y 

Enable devel module

 drush en devel -y

Enable devel generate module

 drush en devel_generate -y

Create 20 dummy nodes

drush genc 20 

Create 10 nodes and 20 comments

 drush genc 10 20

Create 30 new nodes and deleting old ones

Pages

Subscribe to Davinder Kumar RSS