django-fobi/scripts/install_mezzanine.sh
2015-02-10 14:02:18 +01:00

12 lines
No EOL
938 B
Bash
Executable file

#pip install -r examples/requirements.txt --allow-all-external --allow-unverified django-admin-tools
#cd ..
pip install -r examples/requirements.txt
pip install -r examples/mezzanine_example/requirements.txt
python setup.py install
mkdir -p examples/logs examples/db examples/media examples/media/static examples/media/fobi_plugins/content_image
mkdir -p examples/media/fobi_plugins/file
python examples/mezzanine_example/manage.py collectstatic --noinput --settings=settings_bootstrap3_theme_mezzanine --traceback -v 3
python examples/mezzanine_example/manage.py syncdb --noinput --settings=settings_bootstrap3_theme_mezzanine --traceback -v 3
python examples/mezzanine_example/manage.py migrate --delete-ghost-migrations --noinput --settings=settings_bootstrap3_theme_mezzanine --traceback -v 3
python examples/mezzanine_example/manage.py fobi_create_test_data --settings=settings_bootstrap3_theme_mezzanine --traceback -v 3
#cd scripts