I checked out askbot code from github using the following command
git clone git://github.com/ASKBOT/askbot-devel.git
And ran the following command
python setup.py develop
I deployed it on my webserver by following the instructions at http://askbot.org/doc/index.html When I visit my website it looks like the following Image.
All the css rendering is gone. Am I missing some step ?
The issue you are seeing is that static files are not served with
DEBUG=False, so the site appears unstyled.
runserver, please use
DEBUG=True, as in production mode static files are not served by django.
python manage.py collectstatic - to collect the static files for production and configure your webserver to serve the static resources directly.
answered 2012-04-29 14:41:24 -0500tristan
If you are using Apache, in the
settings.py file, modify STATIC_URL with
'/static/' and run
python manage.py collectstatic.
Then follow http://askbot.org/doc/deployment.html
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
Asked: 2012-04-29 14:06:59 -0500
Seen: 279 times
Last updated: Apr 29 '12