Sorry for late reply,

Server setup, letting nginx handle media, admin media an ssl can be
found all over internet.

My project was on a custom satchmo.


As for setting my  customized static generator well. The changes
needed to be made are in the repository and those are the files in
which it needs to be made.

That is not a package rather a how to do it. Havn't got time to
completely fix it into proper package.

Problems you are going to face:

1. if in pages you show that admin is logged in, it not gonna be there
as, it has become a static page, and static generator in my setup
creates files on the first request. ( remember that request generating
page is the page that will served to all)

2. If time is shown it is gonna be static too.

3. The way to overcome those was to right jquery on load functions.
Separate views must be in place to response these requests. Also
takecare of secure and non secure requests too.

Also when static generator generates files it will follow Unicode, so
some character may end up as something else, in my case the pound
sign, So i made a change to static generator script to replace the
pound sign with HTML character code .

I say you build separate dev site and see if static generated site is
viable for you. Then only jump in.
What my admin view does is it has delete and regenerate cache
function.

Delete actually delete the files on the hard disk, where the static
generator generated files.

The regenerate function by using django test feauture. It sends
requests to site, there by making static generator middleware generate
the static html files. ( in my case the category pages and home page
are generated, i avoided products as it would take a lot of time)

For setting up static generator use the tutorial in static generator
page. Also there are many pages on how to nginx proxy to apache setup.

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to