First time here? Check out the FAQ!

Revision history  [back]

Location of `/media` folder?

I'm new to django and askbot and I'm confused about deployment. I'm trying to set up askbot to run under mod_wsgi with Apache.

All went well with installation and a local server is working (manage.py runserver). Next, I read the instruction about setting up apache configuration, but I'm clueless about the media part (serving "static files"). All examples talk about some media folder that I should alias, but there is no such folder in my project.

Am I supposed to create that folder and somehow copy all non-.py files in there? Where should I create it and what to put in it?

The project was created using askbot-setup, version 0.7.25. Django version 1.3.1, Python2.6, Apache/2.2.16 (Debian). The project directory looks like this:

$ ls
askbot  __init__.py  __init__.pyc  log  manage.py  settings.py  settings.pyc  urls.py  urls.pyc

Location of `/media` folder?

I'm new to django and askbot and I'm confused about deployment. I'm trying to set up askbot to run under mod_wsgi with Apache.

All went well with installation and a local server is working (manage.py runserver). Next, I read the instruction about setting up apache configuration, but I'm clueless about the media part (serving "static files"). All examples examples talk about some media folder that I should alias, but there is no such folder in my project.

Am I supposed to create that folder and somehow copy all non-.py files in there? Where should I create it and what to put in it?

The project was created using askbot-setup, version 0.7.25. Django version 1.3.1, Python2.6, Apache/2.2.16 (Debian). The project directory looks like this:

$ ls
askbot  __init__.py  __init__.pyc  log  manage.py  settings.py  settings.pyc  urls.py  urls.pyc