Some every day ZopeSkel commands of plone paster

I forget the paster commands every time I start creating a new product for plone 😛
thats why writing the commands basically for my remembering 🙂
To create a product:
change directory to your src folder of your plone installation
usually in PloneInstalledFolderPath/zinstance/src

PloneInstalledFolderPath/zinstance/bin/paster create -t archetype
and follow the instruction to create a product

Then to add content type in the product:
cd to your newly created product
then
PloneInstalledFolderPath/zinstance/bin/paster addcontent -l
bin/paster addcontent -l
Available templates:
atschema: A handy AT schema builder
browserlayer: A Plone browserlayer
contenttype: A content type skeleton
form: A form skeleton
formfield: Schema field for a form
i18nlocale: An i18n locale directory structure
portlet: A Plone 3 portlet
view: A browser view skeleton
zcmlmeta: A ZCML meta directive skeleton

then you can add anything, for example I want to add a content type (You must be inside your newly created product) then add full path to paster command to run
PloneInstalledFolderPath/zinstance/bin/paster addcontent contenttype

Then follow the instruction

Advertisements
About

Work is fun!

Tagged with: , , , , ,
Posted in Uncategorized
One comment on “Some every day ZopeSkel commands of plone paster
  1. You are so cool! I don’t suppose I have read through something like this before. So wonderful to find somebody with genuine thoughts on this issue. Really.. thanks for starting this up. This site is one thing that’s needed on the web, someone with some originality!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Disclaimer
All content provided on this "tareqalam.com" blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner of [tareqalam.wordpress.com] will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.
December 2012
M T W T F S S
« Nov   Jan »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 23 other followers

%d bloggers like this: