Revision history [back]
If you have script startforum but still see that error that means askbot module does not appear to be in your PYTHONPATH. You can start python in command line and type:
import sys
print '\n'.join(sys.path)
That will print out whatever is in your in the Python system path.
otherwise, all that script does - copy files from directory askbot/setup_templates into your django project directory. You need all of the contents of that directory and establish the following structure:
project_dir/ #<--- some very distinctive name
__init__.py #empty but required for python to recognize site as python module
urls.py #url map
manage.py #management script - this one is actually 1:1 django default
settings.py #where most important settings live
log/ #directory for site logger
askbot/upfiles/ #directory to hold uploaded files.
edit: directories log/ and askbot/upfiles must be writable by the webserver.
You probably already have the "project_dir" and askbot since you've downloaded from the repository, or took tar file?
So you can do it manually too, bypassing the startforum script.
Also - I will push the fresh update in a bit - I recommend to take it - there is a bugfix for runtime settings interface.
If you have script startforum but still see that error that means askbot module does not appear to be in your PYTHONPATH. You can start python in command line and type:
import sys
print '\n'.join(sys.path)
That will print out whatever is in your in the Python system path.
otherwise, all that script does - copy files from directory askbot/setup_templates into your django project directory. You need all of the contents of that directory and establish the following structure:
project_dir/ #<--- some very distinctive name
__init__.py #empty but required for python to recognize site as python module
urls.py #url map
manage.py #management script - this one is actually 1:1 django default
settings.py #where most important settings live
log/ #directory for site logger
askbot/upfiles/ #directory to hold uploaded files.
edit: directories log/ and askbot/upfiles must be writable by the webserver.
You probably already have the "project_dir" and askbot since you've downloaded from the repository, or took tar file?
So you can do it manually too, bypassing the startforum script.
Also - I will push the fresh update in a bit - I recommend to take it - there is a bugfix for runtime settings interface.
If oh, that script is set up by the
easy_install
or by
python setup.py install
if you have script used startforum but still setup.py install method and see that error that means then askbot module does not appear to be in your PYTHONPATH. You can start python in command line and type:
import sys
print '\n'.join(sys.path)
That will print out whatever is in your in the Python system path.
otherwise, all that script does - copy files from directory askbot/setup_templates into your django project directory. You need all of the contents of that directory and establish the following structure:
project_dir/ #<--- some very distinctive name
__init__.py #empty but required for python to recognize site as python module
urls.py #url map
manage.py #management script - this one is actually 1:1 django default
settings.py #where most important settings live
log/ #directory for site logger
askbot/upfiles/ #directory to hold uploaded files.
You probably already have the "project_dir" and askbot since you've downloaded from the repository, or took tar file?
So you can do it manually too, bypassing the startforum script.
Also - I will push the fresh update in a bit - I recommend to take it - there is a bugfix for runtime settings interface.
oh, that script is set up by the
easy_install
or by
python setup.py install
if you used setup.py install method and see that error then askbot module does not appear to be in your PYTHONPATH. You can start python in command line and type:
import sys
print '\n'.join(sys.path)
That will print out whatever is in your in the Python system path.
sorry, the instructions need to be cleaned up - the non-easy-install version is out of date.
otherwise, all that script does - copy files from directory askbot/setup_templates into your django project directory. You need all of the contents of that directory and establish the following structure:
project_dir/ #<--- some very distinctive name
__init__.py #empty but required for python to recognize site as python module
urls.py #url map
manage.py #management script - this one is actually 1:1 django default
settings.py #where most important settings live
log/ #directory for site logger
askbot/upfiles/ #directory to hold uploaded files.
You probably already have the "project_dir" and askbot since you've downloaded from the repository, or took tar file?
So you can do it manually too, bypassing the startforum script.
Also - I will push the fresh update in a bit - I recommend to take it - there is a bugfix for runtime settings interface.
oh, that script is set up by the
easy_install
or by
python setup.py install
if you used setup.py install method and see that error then askbot module does not appear to be in your PYTHONPATH. You can start python in command line and type:
import sys
print '\n'.join(sys.path)
That will print out whatever is in your in the Python system path.
sorry, the instructions need to be cleaned up - the non-easy-install version is out of date.
otherwise, all that script does - copy files from directory askbot/setup_templates into your django project directory. You need all of the contents of that directory and establish the following structure:
project_dir/ #<--- some very distinctive name
__init__.py #empty but required for python to recognize site as python module
urls.py #url map
manage.py #management script - this one is actually 1:1 django default
settings.py #where most important settings live
log/ #directory for site logger
askbot/upfiles/ #directory to hold uploaded files.
You probably already have the "project_dir" and askbot since you've downloaded from the repository, or took tar file?
So you can do it manually too, bypassing the startforum script.
Also - I will push the fresh update in a bit - I recommend to take it - there is a bugfix for runtime settings interface.
oh, that script is set up by the
easy_install
or
python setup.py install
if you used setup.py install method and see that error then askbot module does not appear to be in your PYTHONPATH. You can start python in command line and type:
import sys
print '\n'.join(sys.path)
That will print out whatever is in your in the Python system path.
the easy_install... sorry, the instructions need to be cleaned up - the non-easy-install version is out of date.
otherwise, all that script does - copy files from directory askbot/setup_templates into your django project directory. You need all of the contents of that directory and establish the following structure:
project_dir/ #<--- some very distinctive name
__init__.py #empty but required for python to recognize site as python module
urls.py #url map
manage.py #management script - this one is actually 1:1 django default
settings.py #where most important settings live
log/ #directory for site logger
askbot/upfiles/ #directory to hold uploaded files.
You probably already have the "project_dir" and askbot since you've downloaded from the repository, or took tar file?
So you can do it manually too, bypassing the startforum script.
Also - I will push the fresh update in a bit - I recommend to take it - there is a bugfix for runtime settings interface.
edit: or if you used setup.py install method, then it's a different story. In that case askbot module does not appear to be in your PYTHONPATH. You can start python in command line and type:
import sys
print '\n'.join(sys.path)
That will print out whatever is in your in the Python system path.
oh, that script is set up by the easy_install... sorry, the instructions need to be cleaned up - the non-easy-install version is out of date.
otherwise, all that script does - copy files from directory askbot/setup_templates into your django project directory. You need all of the contents of that directory and establish the following structure:
project_dir/ #<--- some very distinctive name
__init__.py #empty but required for python to recognize site as python module
urls.py #url map
manage.py #management script - this one is actually 1:1 django default
settings.py #where most important settings live
log/ #directory for site logger
askbot/upfiles/ #directory to hold uploaded files.
You probably already have the "project_dir" and askbot since you've downloaded from the repository, or took tar file?
So you can do it manually too, bypassing the startforum script.
Also - I will push the fresh update in a bit - I recommend to take it - there is a bugfix for runtime settings interface.
edit: or if you used setup.py install method, then it's a different story. In that case askbot module does not appear to be in your PYTHONPATH. You can start python in command line and type:
import sys
print '\n'.join(sys.path)
That will print out whatever is in your in the Python system path.
oh, that script is set up by the easy_install... sorry, the instructions need to be cleaned up - the non-easy-install version is out of date.
otherwise, all that script does - copy files from directory askbot/setup_templates into your django project directory. You need all of the contents of that directory and establish the following structure:
project_dir/ #<--- some very distinctive name
__init__.py #empty but required for python to recognize site as python module
urls.py #url map
manage.py #management script - this one is actually 1:1 django default
settings.py #where most important settings live
log/ #directory for site logger
askbot/upfiles/ #directory to hold uploaded files.
You probably already have the "project_dir" and askbot since you've downloaded from the repository, or took tar file?
So you can do it manually too, bypassing the startforum script.
Also - I will push the fresh update in a bit - I recommend to take it - there is a bugfix for runtime settings interface.
manually,