forked from 6004x/jade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.WINDOWS
49 lines (31 loc) · 1.47 KB
/
README.WINDOWS
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
41
42
43
44
45
46
47
48
49
To run this development version of jade under Windows:
1. Download and install Apache 2.2.25 from
http://mirror.olnevhost.net/pub/apache//httpd/binaries/win32/
2. Download and install Python 2.7.8 from
https://www.python.org/downloads/
3. Go to apache installation directory. On my machine this is
C:\Program Files (x86)\Apache Software Foundation\Apache2.2
4. In that directory edit conf\http.conf and add the following to the end.
Replace both references to "C:\cygwin64\home\cjt\jade\src" with the
correct pathname to the src directory in the Jade git repo:
Alias /jade C:\cygwin64\home\cjt\jade
<Directory "C:\cygwin64\home\cjt\jade">
Options FollowSymLinks Includes ExecCGI MultiViews
AllowOverride All
ScriptInterpreterSource Registry
AddHandler cgi-script .py
Order allow,deny
Allow from all
</Directory>
5. Restart Apache to reload the configuration file. I use the cygwin tools
and from the Apache directory I typed:
cygstart --action=runas bin/httpd.exe -k restart
6. Go the src directory in the Jade repo and make sure files/* and files/*/*
are writeable by all (specifically Apache needs access). Under cygwin I
typed
chmod 777 files/*
7. You should now be able to access Jade at
http://localhost/jade/jade_local.html?modules=cjt
where you should replace cjt with an appropriate username which will be
used by the Jade file server to create a file in files/ to hold
the user's modules.