view quickinstall.bat @ 215:d661d49a46dc

reverted 214:0f501a426b50, it will be solved differently by a filter for the Generator in util.forms
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 07 May 2011 19:33:57 +0200
parents 88d821d83751
children d1b8dc0abe68 cbf97d9067f3
line wrap: on
line source
echo off
echo This is the windows version of the "quickinstall" file.
echo It requires the stand-alone wget.exe from
echo and 7za.exe from
echo wget.exe and 7za.exe must be installed in the system path or this directory.

echo Creating a virtual environment in directory env/ ...
virtualenv --no-site-packages env

echo Activating virtual environment ...
call env\Scripts\activate.bat

echo Getting some 3rd party stuff and unpack them into env/, where the default
echo expects them (should be replaced by packaging) ...

wget -nc " 3.5/ckeditor_3.5.tar.gz" -Penv/
7za x env/ckeditor_3.5.tar.gz -y -oenv\
7za x env/ckeditor_3.5.tar -y -oenv\

wget -nc -Penv/
7za x env/TWikiDrawPlugin-moin.tar.gz -y -oenv\
7za x env/TWikiDrawPlugin-moin.tar -y -oenv\

wget -nc -Penv/
7za x env/svg-edit.tar.gz -y -oenv\
7za x env/svg-edit.tar -y -oenv\

mkdir env\jquery
wget -nc -Oenv/jquery/jquery.min.js

wget -nc -Penv/
7za x env/ -y -oenv\

wget -nc -Penv/
7za x env/ -y -oenv\
xcopy "env\AnyWikiDraw 0.14" env\AnyWikiDraw\ /Y /E /H

del /q env\*.tar

echo Installing babel first ...
pip install babel

echo Installing all required python packages from pypi ...
pip install -e .

echo Compiling translations (not required if wiki is English only) ...
python compile_catalog --statistics