moving things around for more clarity

This commit is contained in:
zalun 2010-01-22 00:03:56 +00:00
Родитель 8969877c7c
Коммит 572a6acd8e
3 изменённых файлов: 24 добавлений и 9 удалений

Просмотреть файл

@ -24,7 +24,7 @@ steps (some commands are specific to Ubuntu with Bash):
$ export PYTHONPATH=
5. Install from requirements.txt (#XXX: This is untested due to not accesible server)
$ sudo pip install -E flightdeck/ -r /path/to/projects/FlightDeck/pip-requirements.txt
$ sudo pip install -E flightdeck/ -r /path/to/projects/FlightDeck/tools/pip-requirements.txt
6. Check if everything is working
* activate flightdeck environment
@ -35,7 +35,7 @@ steps (some commands are specific to Ubuntu with Bash):
$ django-admin.py --version
1.1.1
* check if the same as in requirements file
$ grep Django /path/to/projects/FlightDeck/pip-requirements.txt
$ grep Django /path/to/projects/FlightDeck/tools/pip-requirements.txt
Django==1.1.1
* display list of packages
$ yolk -l
@ -47,7 +47,7 @@ steps (some commands are specific to Ubuntu with Bash):
yolk - 0.4.1 - active
* Check if contains everything from requirements file in the right version plus
Python, pip and setuptools
$ cat /path/to/projects/FlightDeck/pip-requirements.txt
$ cat /path/to/projects/FlightDeck/tools/pip-requirements.txt
Django==1.1.1
wsgiref==0.1.2
yolk==0.4.1

Просмотреть файл

@ -3,20 +3,35 @@
# copy configuration files to local
for loc in flightdeck/*_local-default.py
do
cp $loc flightdeck/`basename $loc "-default.py"`.py
echo $loc "->" flightdeck/`basename $loc "-default.py"`.py
if [ -e flightdeck/`basename $loc "-default.py"`.py ]
then
echo file exists flightdeck/`basename $loc "-default.py"`.py
else
cp $loc flightdeck/`basename $loc "-default.py"`.py
echo $loc "->" flightdeck/`basename $loc "-default.py"`.py
fi
done
for wsgi in apache/*_local-default.wsgi
do
cp $wsgi apache/`basename $wsgi "-default.wsgi"`.wsgi
echo $wsgi "->" apache/`basename $wsgi "-default.wsgi"`.wsgi
if [ -e apache/`basename $wsgi "-default.wsgi"`.wsgi ]
then
echo file exists apache/`basename $wsgi "-default.wsgi"`.wsgi
else
cp $wsgi apache/`basename $wsgi "-default.wsgi"`.wsgi
echo $wsgi "->" apache/`basename $wsgi "-default.wsgi"`.wsgi
fi
done
for sh in scripts/*_local-default.sh
do
cp $sh scripts/`basename $sh "-default.sh"`.sh
echo $sh "->" scripts/`basename $sh "-default.sh"`.sh
if [ -e scripts/`basename $sh "-default.sh"`.sh ]
then
echo file exists scripts/`basename $sh "-default.sh"`.sh
else
cp $sh scripts/`basename $sh "-default.sh"`.sh
echo $sh "->" scripts/`basename $sh "-default.sh"`.sh
fi
done
# force exclude local files

Просмотреть файл