summaryrefslogtreecommitdiff
path: root/templates/download.tpl
blob: 2ef6a4081e98ef86cb563b9c9146079549837a25 (plain)
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
{$header}
<div id='columnContainer'>

	<div id='middleColumn'>
		<div id='middleData' style='text-align: justify;'>

			<h2 style='text-align: center;'>DOWNLOAD</h2>

			<div class='standardMargins'>
				The software that runs <a href="about">NutriDB</a> is released under an <a href="http://www.opensource.org/licenses/mit-license.php">MIT (X11)</a> license.
			</div>

			<div class='standardMargins'>
				A tar-gzipped version is available here:
			</div>

			<div style='margin-left: 2em;'>
				<div>
					<a href="http://nutridb.org/nutridb.tar.gz">nutridb.tar.gz</a>
				</div>
			</div>
			<div class='standardMargins'>
				The source is also available in <a href="http://git-scm.com/">git</a>.  You can
				<a href="https://nathan.kinkade.net/code/git/nutridb.git">browse the repository</a>, or make
				read-only clones:
			</div>
			
			<div style='margin-left: 2em;'>
				<div>
					<code>git clone https://nathan.kinkade.net/code/git/nutridb.git</code>
				</div>
			</div>


			<div class='standardMargins'>
				The MySQL database is included inside the tar-gzipped file, but can also be
				downloaded individually: <a href="nutridb-database-sr28.sql.gz">nutridb-database-sr28.sql.gz</a>
			</div>

			<div class='standardMargins'>
				<strong>Installation</strong>: First take a look at the README file that comes with
				the source.  To get a site up and running should be as simple
				as cloning the git repository, or unpacking one of the
				tar-gzipped files, into your web root, copy config.php-dist to
				config.php, edit config.php with some values suitable for your
				environment, unzip the database and install it with something
				like <code>mysql -u root -p &lt; nutridb-database.sql</code>.
			</div>

		</div>
	</div>

	<div id='leftColumn'>
		<div id='leftData'>
			{$sidebar_left}
		</div>
	</div>

	<div id='rightColumn'>
		<div id='rightData'>
			{$sidebar_right}
		</div>
	</div>

</div>
{$footer}