Fake it till you make it, one-liner to generate content for a Drupal site

Devel Generate is great module for putting some dummy content on your site.  You can generate taxonomy terms and vocabs, users, nodes and menus.  Other modules, such as the voting API also plugin to it to generate votes.  

Devel Generate also has great Drush support.  This little one liner will build a site with a few vocabularies, a couple dozen terms, some users, some content and a menu or two.

VOCAB=$(drush genv --kill 3 2>&1 | tail -3 | head -n1) && drush gent --kill $VOCAB 20 && drush --kill genu 50 && drush --kill genc 200 && drush --kill genm 5

I have an alias for it, ($alias make_me_stuff='the command above') so when I'm starting a new project I can just hop in to the docroot and run: make_me_stuff

 

 

 

Tags: 

Comments

What are the benefits?

rooby's picture

Without me having to dig to find information, what does drupal ipsum give you that normal devel generate doesn't, aside from different words?

Hi Rooby,

Hi Rooby,

Basically Drupal Ipsum extends Devel Generate (albeit not the Drush integration) allowing users to generate Drupal-flavored content and also includes other goodies like tight integration with the node add/edit UI (optional) as well as easily allowing modules to define their own vocabularies, amongst other nice enhancements.

- Alex

Thnaks! Great Stuff

Creating a site may be fun and quick if you are working with a basic web-site builder to create your internet site. Nonetheless, even with a simple web page builder you are going to want to comply with a number of standard suggestions to make sure that you just produce your internet site effectively. Even though creating the site may well be straightforward enough, building a web site that could be successful requires you to know a handful of essential factors about internet websites and how they may be created. The following strategies for results will let you to readily produce a profitable web page with any easy website builder. Strategy ahead. This can be a crucial step of create a website. It truly is also a step that is certainly typically skipped by people working with a very simple site builder. It can be simple to get caught up inside the excitement of building a internet site and wish to jump correct in and get going right away. On the other hand, it's important to go into this having a program in location. Writing a standard outline of what you desire to incorporate in your internet site can help you make certain you don't leave out something critical to your guests. It's going to also help you stay on track as you develop your web-site. Use quality content material. Content material is king on the internet. Not only does the ideal formulation of content material get you web page visitors, but the appropriate content will convert guests into consumers - see additional right here www.iconosites.com/page/website-maker

Thinking out loud

Albert's picture

I had put together to change the glass in a very cracked <a href="http://www.fixaframe.com.au" title="picture framing Brisbane">picture framing Brisbane</a> for just a Brisbane Broncos Jersey on the conception when Paul Morgan was manager and Wally Lewis was the Captain. It had been a group member's premiership jersey. It absolutely was rare jersey, really not a mass produced give-away but a real fully signed jersey, stains and all of, which was worn by one of the players. While i got the jersey from the frame it turned out quite apparent so it had been damaged by both the light and the acidity in the matting. Some acid-free matboards are a bleached cardboard that has a residual buffer of calcium carbonate. True conservation mat boards are either 100% cotton rag boards or alpha-cellulose boards. In such a case the matting was neither bleached nor archival. It turned out simply a common paper mat, but Australia was a tiny behind the rest of the globe in the event it arrived at picture framing as a result of 90's.

Hi, a great blog if I do say so :)

Knowledge is of fantastic importance when it comes to placing correct gambling bets. The fact is, it can be likely probably the most important factor to creating the right options when wagering. By a lot of wagering practical experience, a large number of pro gamblers understand what it takes to select a winner and supply don carpone. Their information of sports background, race history, and also other topics allow those to pick a success once again and yet again. Greatest coming from all, they are willing to take you by hand so that you can assist you to effectively place the proper bet every time. They may manual you via the performance trends that will forecast what sort of jockey or sportsperson is likely to carry out.

Drupal is just like the

armone's picture

Drupal is just like the software, which provides the contents to the millions of the websites and the applications. In other hand we can say that it is the online community site. Beezid reviews

#Category

I shall simply keep silent better
I apologise, but, in my opinion, you are not right. I suggest it to discuss. Write to me in PM, we will talk.
What words... super, a brilliant idea
Things are going swimmingly.
This theme is simply matchless

weber smokey mountain

Your post is awesome because

John Kelly's picture

Your post is awesome because it gives me knowledge about the content generator on drupal site. I already saw that tip on assignment when i completed my university assignment for exams.

It is indeed my great delight

ruby's picture

It is indeed my great delight to think about your website also to appreciate your current fantastic content right here.I favor that quite definitely.I am aware which you placed considerably focus of those articles, since every one of them sound right and so are invaluable.loaded longboards

 

 

As a way to read the files

As a way to read the files flow and also to know what it indicates, these power tools feature a Universal series bus power cord, that you simply plug right into a Laptop or computer. They're costlier and not much bigger compared to stand-alone tools Auto code scanner, with print-out features. Print the problem codes as well as take them in your auto mechanic. This will make trouble shooting quicker and will save you a number of the analytic costs. The data displayed on your display screen may be played back to discuss the actual difficulty. These tools work away from any mobile computer Professional diagnositic tools, but to obtain the most take advantage of all of them, a PC is attractive.

Valuable information and

micke's picture

Valuable information and excellent design you got here.I would like to thank you for sharing your thoughts and time into the stuff you post.Ho Train Layouts

 

 

I knew it about what's good

PDS's picture

I knew it about what's good in here..well that is people helping painting a good art for the wall and think that is also improving their skilled and mind to do paint their idea's.well i thank you for that topic.  If you are interested in PDS you may visit my site.

I would really appreciate the

micke's picture

I would really appreciate the efforts you all have made here to make this page more informative. Thanks again…That is some inspirational stuff. Never knew that opinions could be this varied. katadyn water filter

 

 

Your website is so cool. I’m

alexusrobert77's picture

Your website is so cool. I’m impressed by the details that you have on this blog. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for extra articles.

Cell phone spying

I am writing a research paper

shni's picture

I am writing a research paper and collecting information on this topic. Your post is one of the better that I have read. Thank you for putting this information into one location.healthy snack ideas

I like to spend my free time

looton's picture

I like to spend my free time by reading various internet resources. Today I came across your blog and I found it is as one of the best free resources available! Well done! Keep on this quality! www.needrapidcash.com