Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 5944a9cc55d4fbbe9ed07bb700186dd2 > files > 47

python-django-ajax-selects-1.2.5-4.mga4.noarch.rpm


# creates a virtualenv and installs a django here
virtualenv AJAXSELECTS
source AJAXSELECTS/bin/activate
pip install django

# put ajax selects in the path
ln -s ../ajax_select/ ./ajax_select

# create sqllite database
./manage.py syncdb

echo "type 'source AJAXSELECTS/bin/activate' to activate the virtualenv"
echo "then run: ./manage.py runserver"
echo "and visit http://127.0.0.1:8000/admin/"
echo "type 'deactivate' to close the virtualenv or just close the shell"