-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathreadme.html
More file actions
270 lines (228 loc) · 9.48 KB
/
Copy pathreadme.html
File metadata and controls
270 lines (228 loc) · 9.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome to Scriptlog</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Fira+Code&display=swap" rel="stylesheet">
<style>
:root {
--sl-green: #198754;
--sl-green-dark: #146c43;
--sl-light-bg: #f8f9fa;
--sl-dark-text: #212529;
--sl-light-text: #6c757d;
--sl-code-bg: #e9ecef;
--sl-border-color: #dee2e6;
}
body {
background-color: var(--sl-light-bg);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: var(--sl-dark-text);
line-height: 1.7;
font-size: 1.05rem;
}
.main-container {
max-width: 900px;
margin: 0 auto;
}
#main {
background-color: #fff;
border-radius: 0.5rem;
padding: 2rem 3rem;
margin: 3rem auto;
box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.07);
border: 1px solid var(--sl-border-color);
}
@media (max-width: 768px) {
body {
font-size: 1rem;
}
#main {
padding: 1.5rem;
margin: 1rem auto;
}
}
h1, h2, h3 {
font-weight: 700;
color: #343a40;
line-height: 1.3;
}
h1 {
font-size: 2.75rem;
text-align: center;
margin-bottom: 0.5rem;
}
.tagline {
font-size: 1.2rem;
color: var(--sl-light-text);
text-align: center;
margin-bottom: 3rem;
}
h2 {
font-size: 2rem;
margin-top: 3rem;
margin-bottom: 1.5rem;
padding-bottom: 0.75rem;
border-bottom: 2px solid var(--sl-border-color);
}
h3 {
font-size: 1.5rem;
margin-top: 2.5rem;
margin-bottom: 1rem;
color: #495057;
}
a {
color: var(--sl-green);
text-decoration: none;
font-weight: 600;
transition: color 0.2s ease;
}
a:hover {
color: var(--sl-green-dark);
text-decoration: underline;
}
p, ul, ol {
margin-bottom: 1rem;
}
ul, ol {
padding-left: 1.5rem;
}
li {
margin-bottom: 0.5rem;
}
code:not(pre > code) {
font-family: 'Fira Code', monospace;
font-size: 0.9em;
background-color: var(--sl-code-bg);
padding: .2em .4em;
border-radius: 3px;
color: #d63384;
}
pre {
background-color: #282c34;
color: #abb2bf;
font-family: 'Fira Code', monospace;
font-size: 0.9rem;
padding: 1.5rem;
border-radius: 0.5rem;
overflow-x: auto;
margin: 1.5rem 0;
}
pre code {
padding: 0;
background: none;
color: inherit;
font-size: inherit;
border-radius: 0;
}
em {
background-color: #fff3cd;
padding: 0.1em 0.3em;
border-radius: 3px;
font-style: normal;
color: #664d03;
}
strong, b {
font-weight: 700;
}
hr {
margin: 3rem 0;
}
.footer {
text-align: center;
margin-top: 2rem;
margin-bottom: 2rem;
color: var(--sl-light-text);
font-size: 0.9rem;
}
.footer p {
margin-bottom: 0.25rem;
}
</style>
</head>
<body>
<div class="container main-container">
<div id="main">
<h1>Welcome to Scriptlog</h1>
<p class="tagline">A simple, secure home for your stories and thoughts.</p>
<p>Scriptlog is a free and open-source PHP blog software. It is designed to be simple, private, and secure without the complexity of big Content Management Systems.</p>
<p>Scriptlog is built to:</p>
<ul>
<li>Run your personal blog without needing a heavy CMS.</li>
<li>Keep your site secure with modern security practices.</li>
<li>Load fast with minimal resources.</li>
</ul>
<h2>Requirements</h2>
<p>Before installing, make sure your web hosting supports the following:</p>
<ul>
<li><strong>PHP:</strong> Version 7.4 or higher</li>
<li><strong>Web Server:</strong> Apache or Nginx</li>
<li><strong>Database:</strong> MySQL 5.7+ or MariaDB 10.3+</li>
<li>HTTPS is recommended.</li>
</ul>
<h2>Installation</h2>
<h3>Step 1: Download Scriptlog</h3>
<p>Download the latest version of Scriptlog as a ZIP file from the official website or GitHub repository. Extract the ZIP file on your computer, then upload all the files and folders to your web server using FTP or your hosting control panel's file manager.</p>
<h3>Step 2: Create a Database</h3>
<p>Log in to your hosting control panel (like cPanel) and create a new MySQL database. Make sure to write down the database name, username, and password. You will need them in the next step.</p>
<h3>Step 3: Run the Installer</h3>
<p>Open your web browser and go to the address where you uploaded Scriptlog, followed by <code>/install/</code>. For example, if your site is at <code>http://example.com</code>, go to <code>http://example.com/install/</code>.</p>
<p>Follow the installation wizard:</p>
<ul>
<li><strong>Step 1:</strong> The installer checks if your server meets the requirements.</li>
<li><strong>Step 2:</strong> Enter your database details (name, username, password) and create an admin account.</li>
<li><strong>Step 3:</strong> Complete the setup. The installer saves your settings automatically.</li>
</ul>
<h3>Step 4: Delete the Install Folder</h3>
<p>For security, <strong>delete the <code>install/</code> folder</strong> from your server after installation is complete.</p>
<h2>After Installation</h2>
<p>Once installed, you can access your site at the following addresses:</p>
<ul>
<li><strong>Your Blog:</strong> <code>http://your-domain.com/</code></li>
<li><strong>Admin Panel:</strong> <code>http://your-domain.com/admin/</code></li>
</ul>
<p>Log in to the admin panel with the account you created during installation to start writing posts, adding pages, and managing your blog.</p>
<h2>Directory Structure</h2>
<p>After uploading Scriptlog to your server, you will see these main folders:</p>
<ul>
<li><code>admin/</code> — The administration panel where you manage your blog.</li>
<li><code>lib/</code> — Core application files (you do not need to edit these).</li>
<li><code>api/</code> — RESTful API endpoints for external integrations.</li>
<li><code>public/</code> — Contains your theme, uploaded files, cache, and logs.</li>
<li><code>install/</code> — The installer wizard (delete this after installation).</li>
</ul>
<h2>How It Works</h2>
<p>When someone visits your blog, Scriptlog checks the web address and loads the right page. If the page does not exist, it shows a friendly 404 message. Your blog's appearance is controlled by a theme, and you can change it anytime from the admin panel.</p>
<h2>Security</h2>
<p>Scriptlog includes several security features to keep your blog safe:</p>
<ul>
<li>Login protection with password hashing.</li>
<li>Form security to block spam and fake submissions.</li>
<li>Content filtering to prevent malicious code.</li>
<li>Data encryption for sensitive information.</li>
<li>User roles that control what each person can do.</li>
</ul>
<h3>User Levels</h3>
<p>Scriptlog has six user levels with different permissions:</p>
<ul>
<li><strong>Administrator:</strong> Full access to everything.</li>
<li><strong>Manager:</strong> Can manage content, comments, and settings.</li>
<li><strong>Editor:</strong> Can manage content and comments.</li>
<li><strong>Author:</strong> Can write and manage their own posts.</li>
<li><strong>Contributor:</strong> Can write posts but cannot publish them.</li>
<li><strong>Subscriber:</strong> Can only view the dashboard.</li>
</ul>
<h2>License</h2>
<p>Scriptlog is <b>Open Source</b> and <b>Free</b> PHP Blog Software licensed under the <a href="http://www.opensource.org/licenses/mit-license.html">MIT License</a>.</p>
<hr>
<div class="footer">
<p><strong>Thank you for using Scriptlog</strong></p>
<p><a href="https://github.com/cakmoel/Scriptlog">M.Noermoehammad</a></p>
</div>
</div>
</div>
</body>
</html>