This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
2014-05-30 14:16:18 +02:00
|
|
|
virtualenv --system-site-packages venv
|
|
|
|
. venv/bin/activate
|
|
|
|
git clone git://repos.entrouvert.org/bistro.git
|
|
|
|
cd bistro
|
|
|
|
python setup.py install
|
|
|
|
askbot-setup
|
|
|
|
# location: ., postgresql, etc.
|
2014-05-31 12:54:57 +02:00
|
|
|
pip install -e git+git://github.com/ericflo/django-avatar.git#egg=django-avatar
|
|
|
|
vi settings.py
|
|
|
|
|
|
|
|
# append 'avatar' to INSTALLED_APPS
|
|
|
|
|
|
|
|
# tack this at the end:
|
2014-05-30 14:16:18 +02:00
|
|
|
|
|
|
|
from bar.local_settings import *
|
|
|
|
from bar.live_settings import *
|
|
|
|
|
|
|
|
WCS_PREVIEW_CMD = ['python', '/home/bistro/wcs/wcsctl.py',
|
|
|
|
'-f', '/home/bistro/wcs/wcs.cfg',
|
|
|
|
'runscript',
|
|
|
|
'--vhost', 'wcs',
|
|
|
|
'/home/bistro/bistro/bar/bin/wcs_form_preview.py']
|
|
|
|
|
|
|
|
ASKBOT_EXTRA_SKINS_DIR = os.path.join(os.getcwd(), 'skins')
|
|
|
|
|
|
|
|
STATICFILES_DIRS = (
|
|
|
|
('default/media', os.path.join(ASKBOT_ROOT, 'media')),
|
|
|
|
ASKBOT_EXTRA_SKINS_DIR,
|
|
|
|
)
|
|
|
|
|
2014-05-31 12:54:57 +02:00
|
|
|
|
|
|
|
python manage.py syncdb
|
|
|
|
python manage.py migrate askbot
|
|
|
|
python manage.py migrate django_authopenid
|