view quickinstall.bat @ 104:9ca492c52070

use default theme if we cannot get the one that was requested (instead of crashing)
author MattMaker <>
date Fri, 11 Mar 2011 23:08:35 -0600
parents 026da86712e8
children 88d821d83751
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 Installing all required python packages from pypi ...
pip install -e .

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

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