写了一个名为“installcms.sh”的脚本,我把它放在/root
这是我的脚本
apt-get install python-setuptools python-imaging >> installcms.log 2>&1
easy_install pip >> installcms.log 2>&1
pip install django django-cms south django-appmedia >> installcms.log 2>&1
django-admin.py startproject djangocmsproject >> installcms.log 2>&1
cd djangocmsproject
rm settings.py
rm urls.py
cp /root/settings.py settings.py >> installcms.log 2>&1
cp /root/urls.py urls.py >> installcms.log 2>&1
mkdir templates
cd templates
cp /root/example.html example.html >> installcms.log 2>&1
cd ..
python manage.py syncdb --all >> installcms.log 2>&1
python manage.py migrate --fake >> installcms.log 2>&1
python manage.py runserver >> installcms.log 2>&1
当我尝试使用命令“/root/installcms.sh”执行我的脚本时
我收到此错误
ImproperlyConfigured: settings.DATABASES is improperly configured. Please
supply the ENGINE value. Check settings documentation for more details.