-
Notifications
You must be signed in to change notification settings - Fork 0
/
quickinstall
executable file
·41 lines (33 loc) · 1.32 KB
/
quickinstall
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
# create a virtual environment in directory env/
virtualenv --no-site-packages env
source env/bin/activate
# "install" moin2 from repo to the env, this will also install
# required python packages from pypi.
pip install -e .
# compile the translations
python setup.py compile_catalog --statistics
# get some 3rd party stuff and unpack them into env/, where the default
# wikiconfig.py expects them. should be replaced by packaging.
URL=http://download.cksource.com/CKEditor/CKEditor/CKEditor%203.5/ckeditor_3.5.tar.gz
wget -nc -O env/ckeditor.tgz $URL
tar xz -C env/ -f env/ckeditor.tgz
URL=http://static.moinmo.in/files/packages/TWikiDrawPlugin-moin.tar.gz
wget -nc -O env/twd.tgz $URL
tar xz -C env/ -f env/twd.tgz
URL=http://static.moinmo.in/files/packages/svg-edit.tar.gz
wget -nc -O env/svgedit.tgz $URL
tar xz -C env/ -f env/svgedit.tgz
URL=http://code.jquery.com/jquery-1.4.4.min.js
mkdir env/jquery
wget -nc -O env/jquery/jquery.min.js $URL
URL=http://svgweb.googlecode.com/files/svgweb-2010-08-10-Owlephant-1.zip
wget -nc -O env/svgweb.zip $URL
unzip -o -d env/ env/svgweb.zip
URL='http://downloads.sourceforge.net/project/anywikidraw/anywikidraw/anywikidraw-0.14/anywikidraw-0.14.zip?use_mirror=ignum'
DIR='AnyWikiDraw 0.14'
wget -nc -O env/awd.zip $URL
unzip -o -d env/ env/awd.zip
cd env/
ln -s "$DIR" AnyWikiDraw
cd ..