File: installation.html

package info (click to toggle)
pubtal 3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 1,296 kB
  • ctags: 910
  • sloc: python: 8,027; xml: 150; makefile: 49
file content (104 lines) | stat: -rw-r--r-- 5,419 bytes parent folder | download
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>Installation Guide</title>
	<link href="../style/site.css" type="text/css" rel="stylesheet">
</head>
<body>
<h1>Installation Guide</h1>
  <p id="subject">Installing PubTal</p>
  <div><p>Instructions for the following platforms are available:</p>
<ul>
	<li><a href="#linux">Linux/Unix</a> - Covers Linux and most other Unix based systems.</li>
	<li><a href="#macosx">MacOS X</a></li>
	<li><a href="#windows">Windows</a></li>
</ul>
<h2><a name="linux">Linux/Unix Installation Instructions</a></h2>
<h3>Step 1: Install Python</h3>
<p>Most Linux distributions install Python by default.&nbsp; If it isn't present on your system then download it from your vendor's website or <a href="http://www.python.org/">Python.org</a>.</p>
<h3>Step 2: Install SimpleTAL</h3>
<p>Download the latest version of <a href="http://www.owlfish.com/software/simpleTAL/">SimpleTAL</a> and install by following these steps:</p>
<ol>
	<li>Unzip the SimpleTAL archive (e.g. <code>gunzip SimpleTAL-3.11.tar.gz</code>)</li>
	<li>Un-tar the archive (e.g. <code>tar -xf SimpleTAL-3.11.tar</code>)</li>
	<li>Become the root user using <code>su -</code></li>
	<li>Use <code>python setup.py install</code> to install SimpleTAL</li>
</ol>
<h3>Step 3: Install PubTal</h3>
<p>To install PubTal follow these steps:</p>
<ol>
	<li>Unzip the PubTal archive (e.g. <code>gunzip PubTal-3.1.2.tar.gz</code>)</li>
	<li>Un-tar the archive (e.g. <code>tar -xf PubTal-3.1.2.tar</code>)</li>
	<li>Become the root user using <code>su -</code></li>
	<li>Use <code>python setup.py install</code> to install PubTal</li>
</ol>
<h4>Step 4: Verify installation</h4>
<p>To ensure that PubTal has installed correctly:</p>
<ol>
	<li>Go the <code>examples/homepage</code> directory</li>
	<li>Run <code>updateSite.py site.config</code> - the website should be built.</li>
</ol>
<h2><a name="macosx">MacOS X Installation Instructions</a></h2>
<p>MacOS X already comes with Python installed, so only SimpleTAL and PubTal need to be added.</p>
<h3>Step 1: Install SimpleTAL</h3>
<p>Download the latest version of <a href="http://www.owlfish.com/software/simpleTAL/">SimpleTAL</a> and install by following these steps:</p>
<ol>
	<li>Ensure that /usr/local/bin is in your path.&nbsp; If you are using the default tcsh then add the following line to your .cshrc file:<code>set path=( $path /usr/local/bin )</code></li>
	<li>Unzip the SimpleTAL archive (e.g. <code>gunzip SimpleTAL-3.11.tar.gz</code>)</li>
	<li>Un-tar the archive (e.g. <code>tar -xf SimpleTAL-3.11.tar</code>)</li>
	<li>Run <code>sudo python setup.py install --install-scripts /usr/local/bin</code></li>
	<li>Close the terminal program and re-open it.</li>
</ol>
<h3>Step 2: Install PubTal</h3>
<p>To install PubTal follow these steps:</p>
<ol>
	<li>Unzip the PubTal archive (e.g. <code>gunzip PubTal-3.1.2.tar.gz</code>)</li>
	<li>Un-tar the archive (e.g. <code>tar -xf PubTal-3.1.2.tar</code>)</li>
	<li>Run <code>sudo python setup.py install --install-scripts /usr/local/bin</code></li>
	<li>Close the terminal program and re-open it.</li>
</ol>
<h4>Step 4: Verify installation</h4>
<p>To ensure that PubTal has installed correctly:</p>
<ol>
	<li>Go the <code>examples/homepage</code> directory</li>
	<li>Run <code>updateSite.py site.config</code> - the website should be built.</li>
</ol>
<h2><a name="windows">Windows Installation Instructions</a></h2>
<h3>Step 1: Install Python</h3>
<p>Windows does not come with Python pre-installed.&nbsp; Download the latest stable version from <a href="http://www.python.org/">Python.org</a> and follow the instructions there.</p>
<h3>Step 2: Install SimpleTAL</h3>
<p>Download the latest version of <a href="http://www.owlfish.com/software/simpleTAL/">SimpleTAL</a> and install by following these steps:</p>
<ol>
	<li>Unzip the SimpleTAL archive (WinZip supports .tar.gz files)</li>
	<li>Select Start-&gt;Run and enter "cmd" in the text box and select "OK"</li>
	<li>Change to the SimpleTAL directory (e.g. <code>cd C:\SimpleTAL-3.11</code>)</li>
	<li>Type <code>C:\Python23\python.exe setup.py install</code> (changing C:\Python23 for the directory where you installed Python)</li>
</ol>
<h3>Step 3: Install PubTal</h3>
<p>To install PubTal follow these steps:</p>
<ol>
	<li>Unzip the PubTal archive (WinZip supports .tar.gz files)</li>
	<li>Select Start-&gt;Run and enter "cmd" in the text box and select "OK"</li>
	<li>Change to the PubTal directory (e.g. <code>cd C:\PubTal-3.1.2</code>)</li>
	<li>Type <code>C:\Python23\python.exe setup.py install</code> (changing C:\Python23 for the directory where you installed Python)</li>
</ol>
<h4>Step 4: Verify installation</h4>
<p>To ensure that PubTal has installed correctly:</p>
<ol>
	<li>Go the examples/homepage directory</li>
	<li>Run the updateSite.py command (e.g. <code>C:\Python23\Scripts\updateSite.py site.config</code>) - the website should be built.</li>
</ol>
</div>
	  
	
  <div class="navbar">
  <a href="index.html" title="Contents">Contents</a>
  </div>
  <p id="version">PubTal Version 3.5</p>
  <div id="footer">
  <p>File: installation.txt</p>
  <p>Last modified: Fri, 27 Jul 2007 18:34:31 BST</p>
  <p>Copyright 2011 Colin Stewart</p>
  <p title="PubTal is a template driven web site publisher.">Made with <a href="http://www.owlfish.com/software/PubTal/">PubTal</a> 3.5</p>
  </div>
</body>