-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstallation.html
208 lines (170 loc) · 10.9 KB
/
installation.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ness PHP Framework | Docs</title>
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="assets/fnt-aw/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<!--Load highlightjs package -->
<link rel="stylesheet" href="assets/js/highlightjs/styles/vs2015.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
</head>
<body>
<div class="wrapper">
<!-- Sidebar -->
<nav id="sidebar">
<div id="sidebar-header" class="text-center">
<br>
<a href="index.html" id="logo-area-link">
<img src="assets/img/nessphp_bordered.png" alt="Ness PHP Documentation" width="70%"/>
<h3>Ness PHP</h3>
<h4>Documentation</h4>
</a>
<a href="index.html" class="btn btn-light btn-sm" style="width: 100%;">
<i class="fa fa-angle-left" aria-hidden="true"></i> Back
</a>
</div>
<br>
<!--Load LATER-->
<div id="sidebar-loader" class="sidebar-contents">
</div>
</nav>
<div id="content">
<!--Nabvar:start-->
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<button id="sidebarCollapse" class="btn-circle">
<i class="fa fa-bars" aria-hidden="true"></i>
</button>
<ul class="nav navbar-nav">
<li class="nav-item">
<a href="index.html" class="navbar-text-header">
Ness PHP Framework
</a>
</li>
</ul>
<button class="btn-circle d-inline-block d-lg-none ml-auto" type="button" data-toggle="collapse" data-target="#headernav-links" aria-controls="headernav-links" aria-expanded="false" aria-label="Toggle Menu">
<i class="fa fa-ellipsis-v" aria-hidden="true"></i>
</button>
<div class="collapse navbar-collapse" id="headernav-links">
<ul class="nav navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link " href="https://nessphp.github.io/">
<i class="fa fa-terminal" aria-hidden="true"></i>
Ness PHP
</a>
</li>
<li class="nav-item">
<a class="nav-link " href="https://github.com/nessphp/application">
<i class="fa fa-github" aria-hidden="true"></i>
GitHub
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="support.html">
<i class="fa fa-heart" aria-hidden="true"></i>
Support
</a>
</li>
</ul>
</div>
</div>
</nav>
<!--Nabvar:end-->
<!-- ========================content:start======================== -->
<div id="holder">
<span class="pageheader">Installation Instructions</span>
<br>
<ul class="hash-toc">
<li>Contents
<ul>
<li><a href="#process">Installation Process</a></li>
<li><a href="#composer">Get Using Composer</a></li>
<li><a href="#download">Download Package</a></li>
<li><a href="#clone">Clone 'application' Repository</a></li>
<li><a href="#requirements">Server Requirements</a></li>
</ul>
</li>
</ul>
<br><br>
<!--start: topic-->
<h4 id="process">Installation Process <small><a href="#content">#top</a></small></h4>
<p>
Installing Ness PHP is very easy. You can select one of the installation methods and get ready with in 3 mins. Every installation method creates same files in your project directory so you can select the best method fits you. Here is a list of methods you can use;
<ul>
<li><a href="#process">Installation Process</a></li>
<li><a href="#composer">Get Using Composer</a></li>
<li><a href="#download">Download Package</a></li>
<li><a href="#clone">Clone 'application' Repository</a></li>
</ul>
</p>
<br>
<!--end: topic-->
<!--start: topic-->
<h4 id="composer">Get Using Composer<small><a href="#content">#top</a></small></h4>
<p>
You can use 'composer' package manager for downloading and installing the framework.
<div class="alert alert-info" role="alert">
If you are on Windows you can use <b>SHIFT + Right Click</b> on your development folder(development folder; can be htdocs[for XAMP], www, public etc), and click Open Command Line Here
</div>
<br>
<pre><code class="composer" >composer create-project nessphp/application project_name</code></pre>
</p>
<br>
<!--end: topic-->
<!--start: topic-->
<h4 id="download">Download Ness PHP Package<small><a href="#content">#top</a></small></h4>
<p>
If you do not have composer installed on your machine you can use github directly to create a project with Ness PHP. Here is the required steps for creating a project using GitHub Releases.
<ul style="list-style: decimal;">
<li>Please visit <a href="https://github.com/nessphp/application/releases">'application' Repository/Packages</a> on GitHub</li>
<li>Download last version of framework.
<ol style="list-style: disc;">
<li>[Note: Project repository contains only stable releases of the framework. You can follow the same process with framework repository for creating a project from last unstable/development branch]</li>
</ol>
</li>
<li>Unzip the package you have downloaded.</li>
<li>Optional: Rename the package/project name you have downloaded with your own project name</li>
<li>Copy/Upload your project. to local/remote server</li>
</ul>
That's All. Now you are ready to create amazing apps with your freshly installed Ness PHP Framework.
<br>
<br><br>
<div class="alert alert-warning">
<strong>Do Not Forget: </strong>You will need to edit app_config file in project package correctly to make your new Ness PHP application run. Do not panic configuration will take less then 1 min. Just read Project Structure and Project Configuration topics before.
</div>
</p>
<br>
<!--end: topic-->
<!--start: topic-->
<h4 id="clone">Download by Cloning repository<small><a href="#content">#top</a></small></h4>
<p>
If you do not have composer installed on your computer and do not want to download package from Github you can also create projects by cloning
the <a href="https://github.com/nessphp/application">application</a> repository from GitHub.
</p>
<br>
<!--end: topic-->
<!--start: topic-->
<h4 id="requirements">Server Requirements <small><a href="#content">#top</a></small></h4>
<p>
Ness Framework is a lightweight, easy-to-code and adaptable library. You can be confident that we will consider the 'lightness' principle in all our releases. The only requirements are;
<ul style="list-style: decimal;">
<li>PHP Version: =>5.6</li>
<li>Extension: PHP PDO for database operations.</li>
<li>Extension: PHP SimpleXml for Resource Management Class.</li>
</ul>
</p>
<br>
<!--end: topic-->
</div>
<!-- ========================content:end======================== -->
</div>
</div>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/nessphp.js"></script>
<script src="assets/js/highlightjs/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>