This repository was archived by the owner on Nov 14, 2019. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathdocumentation.php
More file actions
340 lines (303 loc) · 13.7 KB
/
Copy pathdocumentation.php
File metadata and controls
340 lines (303 loc) · 13.7 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<link rel="shortcut icon" href="images/favicon.ico"/>
<title>Service Detail – Building & Construction HTML Theme</title>
<link rel='stylesheet' href='css/bootstrap.min.css' type='text/css' media='all' />
<link rel='stylesheet' href='css/font-awesome.min.css' type='text/css' media='all'/>
<link rel='stylesheet' href='css/prettyPhoto.css' type='text/css' media='all' />
<link rel='stylesheet' href='css/owl.carousel.css' type='text/css' media='all' />
<link rel='stylesheet' href='css/style.css' type='text/css' media='all' />
<link rel='stylesheet' href='css/custom.css' type='text/css' media='all' />
<link rel='stylesheet' href='css/preloader.css' type='text/css' media='all' />
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Raleway:400,100,200,300,500,600,700,800,900' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Droid+Serif:400,700' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900' rel='stylesheet' type='text/css'>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="header01">
<div id="loading">
<div id="loading-center">
<div id="loading-center-absolute">
<div class="loader">Loading...</div>
</div>
</div>
</div>
<div class="snap-drawers">
<div class="snap-drawer snap-drawer-left">
<div class="mobile-menu">
<ul class="menu">
<li>
<a href="./">Home</a>
<ul class="sub-menu">
<li><a href="./">Home 01</a></li>
<li><a href="index-2.html">Home 02</a></li>
<li><a href="index-3.html">Home 03</a></li>
</ul>
</li>
<li>
<a href="#">Headers</a>
<ul class="sub-menu">
<li><a href="header-1.html">Header Style 01</a></li>
<li><a href="header-2.html">Header Style 02</a></li>
<li><a href="header-3.html">Header Style 03</a></li>
<li><a href="header-4.html">Header Style 04</a></li>
<li><a href="header-5.html">Header Style 05</a></li>
<li><a href="header-6.html">Header Style 06</a></li>
<li><a href="header-7.html">Header Style 07</a></li>
<li><a href="header-8.html">Header Style 08</a></li>
<li><a href="header-9.html">Header Style 09</a></li>
<li><a href="header-10.html">Header Style 10</a></li>
</ul>
</li>
<li>
<a href="services.html">Services</a>
<ul class="sub-menu">
<li><a href="service-detail.html">Service type 1</a></li>
<li><a href="service-detail-2.html">Service type 2</a></li>
<li><a href="service-detail-3.html">Service type 3</a></li>
</ul>
</li>
<li>
<a href="projects.html">Projects</a>
<ul class="sub-menu">
<li><a href="projects-fullscreen.html">Project fullscreen</a></li>
<li><a href="projects-3-col.html">Project 3 Columns</a></li>
<li><a href="projects-4-col.html">Project 4 Columns</a></li>
<li><a href="project-type-1.html">Project type 1</a></li>
<li><a href="project-type-2.html">Project type 2</a></li>
<li><a href="project-type-3.html">Project type 3</a></li>
</ul>
</li>
<li>
<a href="about-us.html">About Us</a>
<ul class="sub-menu">
<li><a href="about-us.html">Our Company</a></li>
<li><a href="our-history.html">Our History</a></li>
<li><a href="affiliates-partners.html">Affiliates & Partners</a></li>
<li><a href="awards.html">Awards</a></li>
<li><a href="core-values.html">Core Values</a></li>
<li><a href="leadership.html">Leadership</a></li>
</ul>
</li>
<li>
<a href="news.html">News</a>
<ul class="sub-menu">
<li><a href="news.html">Blog Style</a></li>
<li><a href="grid.html">Grid Style</a></li>
<li><a href="mixed.html">Mixed Style</a></li>
<li><a href="blog-detail.html">Single News</a></li>
</ul>
</li>
<li>
<a href="shop.html">Shop</a>
<ul class="sub-menu">
<li><a href="shop-detail.html">Single Product</a></li>
<li><a href="cart.html">Cart</a></li>
<li><a href="cart-empty.html">Empty Cart</a></li>
<li><a href="wishlist.html">Wishlist</a></li>
</ul>
</li>
<li>
<a href="job-search.html">Career</a>
<ul class="sub-menu">
<li><a href="job-search.html">Job Search</a></li>
<li><a href="mentor-programs.html">Mentor Programs</a></li>
<li><a href="internship-programs.html">Internship Programs</a></li>
<li><a href="benefits.html">Benefits</a></li>
</ul>
</li>
<li>
<a href="contact.html">Contact</a>
<ul class="sub-menu">
<li><a href="contact.html">Contact 1</a></li>
<li><a href="contact-2.html">Contact 2</a></li>
<li><a href="contact-3.html">Contact 3</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="snap-drawer snap-drawer-right"></div>
</div>
<div id="page" class="site">
<div class="top-area site-top hidden-xs hidden-sm">
<div class="container">
<div class="row middle">
<div class="col-md-6">
We Build Structures & Relationships to Last
</div>
<div class="col-md-6 text-right">
<div class="top-menu">
<ul id="top-menu" class="menu">
<li class="menu-item"><a href="job-search.html">Carrier</a></li>
<li class="menu-item"><a href="contact.html">Give Feedback</a></li>
<li class="menu-item"><a href="contact-2.html">Contact</a></li>
</ul>
</div>
<div class="social-menu">
<ul id="social-menu-top" class="menu">
<li><a href="http://facebook.com">Facebook</a></li>
<li><a href="http://plus.google.com">Google Plus</a></li>
<li><a href="http://twitter.com">Twitter</a></li>
<li><a href="http://vimeo.com">Vimeo</a></li>
<li><a href="http://youtube.com">Youtube</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<header class="site-header">
<nav id="site-navigation" class="main-navigation">
<div class="top-search">
<div class="container">
<div class="row middle">
<div class="col-md-12">
<form>
<input type="search" name="s" placeholder="What are you looking for?"/>
</form>
</div>
</div>
</div>
</div>
<?php include 'header.php'; ?>
</nav>
<!-- #site-navigation -->
</header>
<div class="site-content">
<div class="big-title">
<div class="container">
<h1 class="entry-title">Documentation</h1>
<div class="breadcrumb">
<div class="container">
<ul class="tm_bread_crumb">
<li class="top"><a href="./">Home</a></li>
<li class="sub tail current">Documentation</li>
</ul>
</div>
</div>
</div>
</div>
<div class="main">
<div class="container">
<div class="row">
<div class="col-md-4 col-sm-12">
<div class="sidebar">
<div class="widget better-menu-widget">
<?php include 'documentation-side-nav.php'; ?>
</div>
<div class="widget">
<div class="services-brochure">
<span><i class="fa fa-github"></i></span><a href="https://github.com/csev/tsugi/blob/master/docs/DEVELOP.md">View in GitHub</a>
</div>
<div class="services-consultation">
</div>
</div>
</div>
</div>
<div class="col-md-8 col-sm-12">
<div class="our_services_heading3 mb-2">
<div><h1>Installing Tsugi</h1></div>
</div>
<div class="mb-2">
<p>I have recorded a simple video describing the install/config steps for this software on YouTube:</p>
<p><b>Installation Video</b></p>
<h2><b>Pre-Requisites</b></h2>
<br>
<ul> <li>Install GIT so that it works at the command prompt.</li>
<li>Install a PHP/MySQL Environment like XAMPP / MAMP following the instructions at:</li></ul>
<p><a href = "http://www.php-intro.com/install.php" target="_blank"><u>PHP-Intro</u></a></p>
<p><b>To install this software follow these steps:</b></p>
<h2>Installation</h2>
<br>
<ul>
<li>Check the code out from GitHub and put it in a directory where your web server can read it</li>
<p>git clone <a href="https://github.com/csev/tsugi.git" target="_blank">https://github.com/csev/tsugi.git</a></p>
<li>Create a database and get authentication info for the database</li>
<p>CREATE DATABASE tsugi DEFAULT CHARACTER SET utf8;
GRANT ALL ON tsugi.* TO 'ltiuser'@'localhost' IDENTIFIED BY 'ltipassword';
GRANT ALL ON tsugi.* TO 'ltiuser'@'127.0.0.1' IDENTIFIED BY 'ltipassword';</p>
<li>Copy the file config-dist.php to config.php and edit the file to put in the appropriate values. Make sure to change all the secrets. If you are just getting started turn on DEVELOPER mode so you can launch the tools easily. Each of the fields is documented in the config-dist.php file - here is some additional documentation on the configuration values:</p>
</li>
<p><a href="http://do1.dr-chuck.com/tsugi/phpdoc/classes/Tsugi.Config.ConfigInfo.html" target="_blank">http://do1.dr-chuck.com/tsugi/phpdoc/classes/Tsugi.Config.ConfigInfo.html</a></p>
<li>Go to the main page, and click on "Admin" to make all the database tables - you will need the Admin password you just put into config.php If all goes well, lots of tables should be created. You can run upgrade.php more than once - it will automatically detect that it has been run.</li>
<li>At that point you can play with and/or develop new tools</li>
</ul>
<p>Note: Make sure that none of the folders in the path to the tsugi folder have any spaces in them. You may get signature errors if you use folders with blanks in them.</p>
<h2>MAMP NOTES (Macintosh)</h2>
<br>
<p>cd /Applications/MAMP/htdocs/</p>
<p>git clone https://github.com/csev/tsugi.git</p>
<p>cd tsugi</p>
<p>cp config-dist.php config.php</p>
<p>edit config.php using a text editor - some values</p>
<p>Make sure to change $wwwroot to reflect where your server is </p>
<p>hosted or the CSS files will not be loaded.</p>
<p>$wwwroot = 'http://localhost:8888/tsugi';</p>
<p>$CFG->pdo = 'mysql:host=127.0.0.1;port=8889;dbname=tsugi';</p>
<p>$CFG->dbprefix = '';</p>
<p>$CFG->adminpw = ....;</p>
<p>Make a database using PhpMyAdmin:</p>
<p>CREATE DATABASE tsugi DEFAULT CHARACTER SET utf8;</p>
<p>GRANT ALL ON tsugi.* TO 'ltiuser'@'localhost' IDENTIFIED BY 'ltipassword';</p>
<p>GRANT ALL ON tsugi.* TO 'ltiuser'@'127.0.0.1' IDENTIFIED BY 'ltipassword';</p>
<p>Visit http://localhost:8888/tsugi and go to 'Admin' and enter the</p>
<p>adminpw to automatically create all necessary tables.</p>
<h2>XAMPP NOTES (Windows)</h2>
<br>
<p>cd \xampp\htdocs</p>
<p>git clone https://github.com/csev/tsugi.git</p>
<p>cd tsugi</p>
<p>copy config-dist.php config.php</p>
<p>edit config.php using a text editor - some values</p>
<p>Make sure to change $wwwroot to reflect where your server is </p>
<p>hosted or the CSS files will not be loaded.</p>
<p>$wwwroot = 'http://localhost/tsugi';</p>
<p>$CFG->dbprefix = '';</p>
<p>$CFG->adminpw = ....;</p>
<p>Make a database using PhpMyAdmin:</p>
<p>CREATE DATABASE tsugi DEFAULT CHARACTER SET utf8;</p>
<p>GRANT ALL ON tsugi.* TO 'ltiuser'@'localhost' IDENTIFIED BY 'ltipassword';</p>
<p>GRANT ALL ON tsugi.* TO 'ltiuser'@'127.0.0.1' IDENTIFIED BY 'ltipassword';</p>
<p>Visit http://localhost/tsugi and go to 'Admin' and enter the</p>
<p>adminpw to automatically create all necessary tables.</p>
<p>If you are setting this up on some variation of Linux, the Macintosh instructions will be the most help.</p>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include 'footer.php'; ?>
<div class="copyright">
<div class="container">
<div class="row middle">
<div class="col-md-12 end-md end-lg center">
© Copyrights 2016 TK-Themes, Inc. All rights reserved.
</div>
</div>
</div>
</div>
</div>
<a class="scrollup"><i class="fa fa-angle-up"></i></a>
<script type='text/javascript' src='js/jquery.min.js'></script>
<script type='text/javascript' src='js/jquery-migrate.min.js'></script>
<script type='text/javascript' src='js/bootstrap.min.js'></script>
<script type='text/javascript' src='js/snap.min.js'></script>
<script type='text/javascript' src='js/owl.carousel.min.js'></script>
<script type='text/javascript' src='js/jquery.prettyPhoto.js'></script>
<script type='text/javascript' src='js/jquery.prettyPhoto.init.min.js'></script>
<script type='text/javascript' src='js/jQuery.headroom.min.js'></script>
<script type='text/javascript' src='js/headroom.min.js'></script>
<script type='text/javascript' src='js/script.js'></script>
</body>
</html>