First time here? Check out the FAQ!
2

Does Askbot support multiple sites on the same server with the same code base?
 

Can I run multiple sites through a single Askbot install?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
anonymous user
asked 12 years ago

Comments

see more comments

1 Answer

1

Granted, I have not made the attempt. But everything about my single-site experience suggests that multiple sites will be no problem.

First of all, I installed Askbot via pip directly into my central site-packages repository. So that would be accessible from every separate site that you install.

Secondly, when I ran the Askbot setup script to create a new site, it asks where you want to put the installation---and then it creates a copy of the template files, uwsgi initialization script, and configuration settings, but not the main Askbot code. This suggests to me that multiple uwsgi servers could run off the same code base. Editing the templates for one site won't change the look of another site.

Of course, you will need to create a separate database for each site, and manage a separate uwsgi server. But there's nothing I saw that suggests this is not possible.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
mcg's avatar
86
mcg
answered 12 years ago
link

Comments

Done just as you said, and it works

bgenevaux's avatar bgenevaux (12 years ago)

Thank you mog!

Adam's avatar Adam (12 years ago)
see more comments