Installing on a clean server
Steps we followed (using the documentation):
# pip install askbot
set up the postgres database and verified it worked
Then in the directory we want to use:
# askbot-setup
askbot. To choose current directory - enter "."
> /forum
Please select database engine:
1 - for postgresql, 2 - for sqlite, 3 - for mysql, 4 - oracle (type 1/2/3/4)
> 1
Please enter database name (required)
> askbot
Please enter database user (required)
> #######
Please enter database password (required)
> #######
Copying files:
* __init__.py
* manage.py
* urls.py
* django.wsgi
Creating settings file
settings file created
copying directories: * doc
* cron
* upfiles
# python manage.py syncdb
Please run command
python manage.py collectstatic
WARNING!!! You are using a 'locmem' (local memory) caching backend,
which is OK for a low volume site running on a single-process server.
For a multi-process configuration it is neccessary to have a production
cache system, such as redis or memcached.
With local memory caching and multi-process setup you might intermittently
see outdated content on your site.
TypeError: Item in ``from list'' not a string
root@ssdt-web-13:/forum# python manage.py collectstatic
You have requested to collect static files at the destination
location as specified in your settings.
This will overwrite existing files!
Are you sure you want to do this?
yes
when it was done tried again:
# python manage.py syncdb
WARNING!!! You are using a 'locmem' (local memory) caching backend,
which is OK for a low volume site running on a single-process server.
For a multi-process configuration it is neccessary to have a production
cache system, such as redis or memcached.
With local memory caching and multi-process setup you might intermittently
see outdated content on your site.
TypeError: Item in ``from list'' not a string
I thought this was supposed to be an easy install. We are testing other questions/answer type applications and ease of installation is one criteria.
Trending Articles
More Pages to Explore .....