Differences between revisions 1 and 2
Revision 1 as of 2006-08-25 00:39:41
Size: 1119
Comment:
Revision 2 as of 2006-08-25 01:08:23
Size: 1173
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
Some pages are still in the old website format and copied over from an instance of the old website automatically during the build process. If you plan to migrate any of these pages to the new site, read the PythonWebsitePyramidDocs on converting content and see also
some older notes
in PythonWebsiteContentMigration.
Some pages are still in the old website format and copied over from an instance of the old website automatically during the build process. If you plan to migrate any of these pages to the new site, read the PythonWebsitePyramidUserGuide section on converting content with mkpydir and see also some older content migration notes we've saved in PythonWebsiteContentMigration.

Where do I put assets? (images, files, html pages, etc)?

In most cases, place them into the same location as the yml and html template files. Pyramid copies them into place automatically. For html trees, place them into a directory that contains a file called NOBUILD. This tells pyramid to just copy the html files instead of trying to process them.

Site-wide and style related images go into in /images instead.

Migrating old Pages

Some pages are still in the old website format and copied over from an instance of the old website automatically during the build process. If you plan to migrate any of these pages to the new site, read the PythonWebsitePyramidUserGuide section on converting content with mkpydir and see also some older content migration notes we've saved in PythonWebsiteContentMigration.

Debugging in Wing IDE

To debug pyramid in Wing IDE, set up a project, add pyramid (or a copy of it) as the main debug file and set the parameters and starting directory in the File Properties (right click on file or file's name in project view). This can help point at problems when running w/ -V doesn't provide enough info.

PythonWebsiteDetails (last edited 2014-01-15 18:43:06 by MarcAndreLemburg)

Unable to edit the page? See the FrontPage for instructions.