forked from oazabir/codeuml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME DUDE.txt
66 lines (48 loc) · 2.14 KB
/
README DUDE.txt
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
There are several pre-requisits before you run this website.
1. Install Java
===============
Download and install latest Java. Make sure you know where
you are installing java. Usually it will be:
"c:\Program Files\Java\jre6\bin"
1. Configure Graphviz
=============================================================
First, you have to install graphviz.
http://www.graphviz.org/
Once you have installed, create a SYSTEM environment variable
called GRAPHVIZ_DOT which points to the dot.exe found in the
graphviz bin folder. Usually it is:
c:\Program Files\Graphviz2.26.3\bin\dot.exe
Once you have done so, start a new command line window and run
this:
set graphviz_dot
If this shows you:
GRAPHVIZ_DOT=c:\Program Files\Graphviz2.26.3\bin\dot.exe
Then it is ok.
2. Installing on IIS 7+
=============================================================
If you are hosting this on a Windows Server, there are various
steps you need to do:
* First create a new app pool.
* Create a new website or virtual directory that points to this website.
* Give the app pool user (IIS AppPool\YourAppPoolName or NETWORK SERVICE)
Read & Execute permission on the:
** Java folder. Eg. "c:\Program Files\Java\jre6\bin"
** Graphviz bin folder: Eg c:\Program Files\Graphviz2.26.3\bin
** Within this website: plantuml folder.
3. Configuring web.config
==============================================================
You must fix the following entries before you can run:
<add key="java"
value="c:\Program Files\Java\jre6\bin\java.exe" />
<add key="plantuml.path"
value="C:\Dropbox\Dropbox\OSProjects\PlantUmlRunner\plantuml\plantuml.jar"/>
These are both absolute paths. No relative path allowed.
4. Running and testing the website
============================================================
Run the Manage.aspx.
It will take a while to start the page as it tries to launch java
and run the plantuml engine at the application_start event.
Once the site is up and running, click on Test button to test
a UML generation. If it works, you have congfigured everything
properly.
Disable the Manage.aspx on production.