Update lfsa to use semantic versioning

This commit is contained in:
2019-06-10 13:18:34 +03:00
parent 3c513fbc58
commit 64783532a2
9 changed files with 60 additions and 57 deletions

View File

@@ -91,32 +91,32 @@
<center><h1>
</h1></center>
<center><div class="contents">
<h2 id="overview">Overview</h2>
<p>Local File System Access (LFSA) is:</p>
<p><strong>L</strong>ocal <strong>F</strong>ile <strong>S</strong>ystem <strong>A</strong>ccess (<strong>LFSA</strong>) is:</p>
<ul>
<li>a tiny web server to allow client side JS access to local file system</li>
<li>a buildling block for Client Side Web Apps (CSWA)</li>
<li>a buildling block for <strong>C</strong>lient <strong>S</strong>ide <strong>W</strong>eb <strong>A</strong>pps (<strong>CSWA</strong>)</li>
<li>a single Python file</li>
<li>released under <a href="https://creativecommons.org/share-your-work/public-domain/cc0/">CC0</a> license (public domain)</li>
</ul>
<h2 id="cswa">CSWA</h2>
<p>Client Side Web Apps run solely on your device, they are not related to cloud solutions in any way: nobody can pull the plug on you.
CSWAs use LFSA to keep data at your hard drive, so you have complete control of your data.</p>
CSWAs may use LFSA to keep data locally so that you could have complete control of your data.</p>
<p><a href="http://opengamestudio.org/pskov">PSKOV</a> static site generator is the first CSWA to use LFSA.</p>
<h2 id="install">Install</h2>
<p>If you use Linux or macOS released after 2005 (yes, 2005), you only need to <a href="../lfsa-201905.py">download lfsa-201905.py</a>.</p>
<p>If you use Linux or macOS released after 2005 (yes, 2005), you only need to <a href="../lfsa_1.0.0.py">download lfsa_1.0.0.py</a>.</p>
<p>If you use Windows 2000 or newer (excluding Windows ME), you need to:</p>
<ul>
<li><a href="https://www.python.org/downloads/windows/">download</a> and install Python 2.3 or newer</li>
<li><a href="../lfsa-201905.py">download lfsa-201905.py</a></li>
<li><a href="../lfsa_1.0.0.py">download lfsa_1.0.0.py</a></li>
</ul>
<h2 id="run">Run</h2>
<p>If you use Linux or macOS, run LFSA in Terminal this way:</p>
<pre><code>/path/to/lfsa-201905.py /path/to/dir
<p>If you use Linux or macOS, run LFSA in terminal this way:</p>
<pre><code>/path/to/lfsa_1.0.0.py /path/to/dir
</code></pre>
<p>Here's how it looks like on macOS Mojave:</p>
<p><img src="../img/lfsa-on-macos.png" alt="LFSA on macOS Mojave" /></p>
<p>If you use Windows, run LFSA in <a href="https://en.wikipedia.org/wiki/Cmd.exe">CMD</a> this way:</p>
<pre><code>C:/path/to/Python/installation/python.exe C:/path/to/lfsa-201905.py C:/path/to/dir
<pre><code>C:/path/to/Python/installation/python.exe C:/path/to/lfsa_1.0.0.py C:/path/to/dir
</code></pre>
<p>Here's how it looks like on Windows 2000:</p>
<p><img src="../img/lfsa-on-windows.png" alt="LFSA on Windows 2000" /></p>
@@ -124,8 +124,9 @@ CSWAs use LFSA to keep data at your hard drive, so you have complete control of
<p>As you noticed, LFSA can run on really old operating systems dating back to 2000. That's intentional: we care about users, so we want to cover as many users as possible.</p>
</div></center>
<div id="footer">
This site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>.
Source code is <a href="http://github.com/ogstudio/site-lfsa">here</a>.
The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>
from <a href="http://github.com/ogstudio/site-lfsa">this source code</a>.
The site is hosted by <a href="https://pages.github.com">GitHub Pages</a>.
</div>
<script type="text/javascript">
</script>

View File

@@ -4,36 +4,35 @@ Category: Page
Slug: index
Lang: en
## Overview
Local File System Access (LFSA) is:
**L**ocal **F**ile **S**ystem **A**ccess (**LFSA**) is:
* a tiny web server to allow client side JS access to local file system
* a buildling block for Client Side Web Apps (CSWA)
* a buildling block for **C**lient **S**ide **W**eb **A**pps (**CSWA**)
* a single Python file
* released under [CC0][cc0] license (public domain)
## CSWA
Client Side Web Apps run solely on your device, they are not related to cloud solutions in any way: nobody can pull the plug on you.
CSWAs use LFSA to keep data at your hard drive, so you have complete control of your data.
CSWAs may use LFSA to keep data locally so that you could have complete control of your data.
[PSKOV][pskov] static site generator is the first CSWA to use LFSA.
## Install
If you use Linux or macOS released after 2005 (yes, 2005), you only need to [download lfsa-201905.py][lfsa-local].
If you use Linux or macOS released after 2005 (yes, 2005), you only need to [download lfsa_1.0.0.py][lfsa-local].
If you use Windows 2000 or newer (excluding Windows ME), you need to:
* [download][python] and install Python 2.3 or newer
* [download lfsa-201905.py][lfsa-local]
* [download lfsa_1.0.0.py][lfsa-local]
## Run
If you use Linux or macOS, run LFSA in Terminal this way:
If you use Linux or macOS, run LFSA in terminal this way:
```
/path/to/lfsa-201905.py /path/to/dir
/path/to/lfsa_1.0.0.py /path/to/dir
```
Here's how it looks like on macOS Mojave:
@@ -43,7 +42,7 @@ Here's how it looks like on macOS Mojave:
If you use Windows, run LFSA in [CMD][cmd] this way:
```
C:/path/to/Python/installation/python.exe C:/path/to/lfsa-201905.py C:/path/to/dir
C:/path/to/Python/installation/python.exe C:/path/to/lfsa_1.0.0.py C:/path/to/dir
```
Here's how it looks like on Windows 2000:
@@ -55,8 +54,9 @@ Here's how it looks like on Windows 2000:
As you noticed, LFSA can run on really old operating systems dating back to 2000. That's intentional: we care about users, so we want to cover as many users as possible.
[pskov]: http://opengamestudio.org/pskov
[lfsa-local]: ../lfsa-201905.py
[lfsa-local]: ../lfsa_1.0.0.py
[python]: https://www.python.org/downloads/windows/
[cmd]: https://en.wikipedia.org/wiki/Cmd.exe
[lfsa-on-macos]: ../img/lfsa-on-macos.png
[lfsa-on-windows]: ../img/lfsa-on-windows.png
[cc0]: https://creativecommons.org/share-your-work/public-domain/cc0/

View File

@@ -94,8 +94,9 @@
PSKOV_ITEM_CONTENTS
</div></center>
<div id="footer">
This site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>.
Source code is <a href="http://github.com/ogstudio/site-lfsa">here</a>.
The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>
from <a href="http://github.com/ogstudio/site-lfsa">this source code</a>.
The site is hosted by <a href="https://pages.github.com">GitHub Pages</a>.
</div>
<script type="text/javascript">
</script>