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.
bistro/INSTALL

35 lines
910 B
Plaintext

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.
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:
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,
)
python manage.py syncdb
python manage.py migrate askbot
python manage.py migrate django_authopenid