First time here? Check out the FAQ!

parenthesis's profile - activity

2017-07-14 19:10:20 -0500 received badge Notable Question (source)
2014-09-02 05:58:47 -0500 received badge Popular Question (source)
2013-04-22 04:02:57 -0500 received badge Famous Question (source)
2012-11-20 01:45:18 -0500 received badge Famous Question (source)
2011-11-09 10:48:36 -0500 received badge Supporter ( source )
2011-11-08 11:56:55 -0500 marked best answer Where to set APP_URL?

It's in the live settings -> forum parameters and urls.

The default is askbot.org, which is not helpful, we'll need to change that.

2011-11-08 11:56:49 -0500 commented answer Where to set APP_URL?

thanks Evgeny! for other readers: "live settings" is the settings accessible directly from the forum website (not the admin menu).

2011-11-07 15:55:03 -0500 asked a question Where to set APP_URL?

Validation emails always point users to http://askbot.org/account/recover/blabla. I was looking for the setting that changes askbot.org to my domain, but no luck.

I tried:

  1. Going to the django admin and changing the site domain (no effect)

  2. Hunting down where this var is set in the source code. Clues lead to APP_URL, but adding that to my settings.py changes nothing either.

Any ideas?

2011-10-13 11:19:26 -0500 asked a question Standard file locations and permissions

With askbot running on Apache/mod_wsgi, what locations do you use for its folders, such as

  • /path/to/askbot (the git/site-packages folder, needed for server media location /m),
  • /path/to/django-project/askbot (the one from askbot-setup, used in server /upfiles),
  • django-project.wsgi used in WSGIScriptAlias?

Connected to that, how do you handle server updates (production site vs. sandbox)? What do you put under DocumentRoot? What permissions do you give to other users (such as user www-data)?


EDIT: Just to clarify -- my installation works fine, I am only looking for practical recipes on how to manage the installation properly, and in standard fashion. Thank you :)

2011-10-13 11:03:46 -0500 commented question Location of `/media` folder?

I thought about it, but askbot documentation said apache/mod_wsgi is the most efficient. I will try nginx next :)

2011-10-13 11:02:18 -0500 marked best answer Location of `/media` folder?

In apache configs the alias is a simple expression mapping a url and anything under that url to a directory on the server's file system - and the corresponding sub-directories.

So the case of askbot we have to alias three directories:

 Alias /m/ /path/to/askbot/skins/
 Alias /upfiles/ /path/to/django-project/askbot/upfiles/
 Alias /admin/media/ /usr/local/lib/python2.6/site-packages/django/contrib/admin/media/

The part that you need adjust manually is where the skins, upfiles and django hosted.

We should indeed just create a script that just creates correct server configuration clause, in fact we will do it this week.

If you tell at what path django is installed and askbot - I could give you a more concrete answer.

2011-10-13 11:02:18 -0500 received badge Scholar ( source )
2011-10-13 11:02:14 -0500 commented answer Location of `/media` folder?

Thank you, that worked. Looking forward to the update! Sorry I cannot upvote your answer, not enough points.

2011-10-12 19:19:50 -0500 received badge Student (source)
2011-10-12 18:56:45 -0500 received badge Editor (source)
2011-10-12 18:48:15 -0500 asked a question 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