Orchard how to initialize database data when setup?

Topics: Installing Orchard
Jul 30, 2013 at 4:42 AM
Edited Jul 30, 2013 at 4:54 AM
There is some data in database after setup finished. Some is system generated , eg. CreateTenantData , the other is by way of string insert . eg. homepage's long string.

I want to know where are the strings stored ,the files . What mechanism is the database initialization with these strings.
If I have had add a new module. What is the best way to add initial data?
Jul 30, 2013 at 5:12 AM
Setup executes what's called a Recipe. Recipes contains information such as metadata, data and commands. You can create your own recipes if you like: http://docs.orchardproject.net/Documentation/Making-a-Web-Site-Recipe.