Ask Your Question
1

How to run startforum?

asked 2011-04-26 14:33:56 -0500

codedigger gravatar image

I'm new to askbot. In it's initial configuration instruction, it says, "initialize the site setup files by typing: startforum". Well, where do I type startforum? Where is this script? I tried "python manage.py startforum", also tried just typing in this command in the shell, but it doesn't work. Wish the documentation is more clear for beginners.

edit retag flag offensive close merge delete

Comments

If some doc page is not clear on something - please point it out - will fix it.
Evgeny gravatar imageEvgeny ( 2011-04-26 14:39:13 -0500 )edit
also - since you have an existing site, you'll have to manually splice the settings.py files and urls.py. Startforum simply copies stuff from the directory "/askbot/setup_templates/"
Evgeny gravatar imageEvgeny ( 2011-04-26 14:41:13 -0500 )edit
The instruction at the page "Initial Configuration of Askbot" is the one I was referring to.
codedigger gravatar imagecodedigger ( 2011-04-26 14:47:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-04-26 14:37:15 -0500

Evgeny gravatar image

Does simply "startforum" work?

If not, then the script is not on your path.

Normally it will be installed into the bin directory of your python environment.

edit flag offensive delete link more

Comments

Thanks for the pointer. Yes, the script is in the python bin directory. Now, when I run it, this error comes up: .../python/bin/.python2.6.bin: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory
codedigger gravatar imagecodedigger ( 2011-04-26 14:46:20 -0500 )edit
This is most likely a problem with your python. For example library readline was absent on the system at the time python was compiled, so python does not support it. It will be the easiest if you first install the libraries, then recompile python. One thing to be careful with - not to clobber your default python interpreter. For example, Fedora-based linux systems want python2.4, then you can use command "make altinstall" to install the custom interpreter.
Evgeny gravatar imageEvgeny ( 2011-04-26 14:52:12 -0500 )edit
Sorry for asking beginner question. I installed readline now, but have been searching on how to recompile python. Sounds like I might mess up my current python settings by doing so. Is there a good link on how to recompile python? Alternatively, is there another way to set up a new Django project for AskBot without using startforum?
codedigger gravatar imagecodedigger ( 2011-04-29 14:40:17 -0500 )edit
The python source has file INSTALL - it has all the instructions. However, one thing to keep in mind - on CentOS/RedHat/Fedora systems you'll have to use command "make altinstall" instead of "make install", b/c those want python2.4, while you are using 2.6.
Evgeny gravatar imageEvgeny ( 2011-04-29 14:47:57 -0500 )edit
startforum script copies contents of "askbot/setup_templates" to the root of the project (most are standard django files). While library readline is probably used to collect your input from the terminal (some management commands use it too).
Evgeny gravatar imageEvgeny ( 2011-04-29 14:51:02 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-04-26 14:33:56 -0500

Seen: 152 times

Last updated: Apr 26 '11