quokkaproject / quokka

LOOKING FOR NEW MAINTAINER - Quokka is a Content Management System - `docker run --rm -it -p 5000:5000 quokka/quokka`
http://www.quokkaproject.org
Other
2.24k stars 447 forks source link

Can quokka work with another Flask site? #195

Closed QiXuanWang closed 9 years ago

QiXuanWang commented 9 years ago

I mean I have a website running with Flask. Now I want quokka to be the CMS. What part should I modify? Didn't find details on your documents.

rochacbruno commented 9 years ago

Quokka is a full stack application, it is not developed to be used as a module in another Flask project (but it is a good idea which is planned for future versions).

The only way to have Quokka running together with your existing application is using DispatcherMiddleware, you will have two applications inside the same wsgi container. then, you route i.e: blog.yoursite.com to the quokka app and yoursite.com to you existing app.

QiXuanWang commented 9 years ago

That's what I guessed. Appreciate your comment, looking forward for your great work.