Ask Your Question
1

maintaining multiple sites

asked 2010-09-08 06:33:50 -0500

omat gravatar image omat
67 3 3 6

updated 2010-09-09 02:45:27 -0500

what is the best way to maintain multiple askbot instances on one server? isolated code & db or same code & db using django-sites? is the later possible to implement with the current status of askbot?

i know it may depend on the requirements but having a single db would have the additional advantage of building an aggregate site like StackExchange on top of all sites more easily.

best.

delete close flag offensive retag edit

Comments

I think your question is more about deployment rather than maintenance. Evgeny ( 2010-09-08 11:49:24 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2010-09-08 11:41:56 -0500

Evgeny gravatar image Evgeny flag of Chile
11329 50 84 183
http://askbot.org/

updated 2010-09-08 13:06:05 -0500

To deploy multiple instances on the same machine - just install askbot (the app itself without the settings.py, etc) - in one place, e.g. in your site-packages, then create multiple deployments (with startforum script).

You do not need multiple copies of askbot code to run many sites on the same machine, but a separate copy for development - is a very good idea.

For multiple sites (each with their own domain) you'll have to use separate databases. In addition, there is no support at this time to run multiple forum instances on the same site (domain). That is you can have two forums cars.example.com and trucks.example.com, but not (at least right now) example.com/cars and example.com/trucks (you can of course have example.com/trucks separately). Is this a significant limitation? What do you think?

Just my opinion - but I think it would be more interesting to develop the forum so that it can support many topics (Yahoo Answers is an example here) rather than have a separate forum for each topic (like Fog Creek does at their Stack Exchange).

From the technical standpoint, having a separate set of tables for each forum sounds like an overkill. Alternatively, you can have a "topic/forum" field in each row to accommodate multiple forums in one set of tables. Are you going to share tags or not? Sometimes you can have a question that fits more than one topic - then if you have separate forums it may become technically difficult to automatically share the question.

My preferred solution though is to use tags in a more advanced way to allow clustering of data into a smaller set of topics. For example there may be a hidden set of special tags, maintained by the moderators.

It would be nice to figure out a practical way to support topic segregation, maybe use some simple solution which can allow progressing towards a more evolved one in the future.

link publish delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow
3 followers

subscribe to rss feed

Stats

Asked: 2010-09-08 06:33:50 -0500

Seen: 86 times

Last updated: Sep 09 '10