lipu-pali/README.md

82 lines
3.4 KiB
Markdown
Raw Normal View History

2025-06-03 17:39:54 +01:00
<h1 align="center">
<br>
<img src="https://guardianproject.dev/jasima/lukin/raw/branch/main/pngs/logomark-colour-w1024.png" alt="jasima.app">
<br>
</h1>
<p align="center">
<img
alt="Language: Typescript"
src="https://img.shields.io/badge/lanuage-typescript-3178c6?style=flat-square">
<a href="https://opensource.org/licenses/BSD-2-Clause">
<img alt="Licence: BSD 2-Clause" src="https://img.shields.io/badge/license-bsd%202--clause-orange?style=flat-square">
</a>
<img alt="Lifecycle: Experimental" src="https://img.shields.io/badge/lifecycle-experimental-339999?style=flat-square">
<br>
<a href="https://www.jasima.app/">
<img alt="Website" src="https://img.shields.io/website?url=https%3A//www.jasima.app&style=flat-square">
</a>
<a href="https://guardianproject.dev/jasima/lipu-pali/issues">
<img alt="Issues" src="https://img.shields.io/gitea/issues/open/jasima/lipu-pali?gitea_url=https%3A%2F%2Fguardianproject.dev&style=flat-square">
</a>
2025-06-03 17:51:00 +01:00
<a href="https://opencollective.com/guardianproject/guardianproject">
2025-06-03 17:39:54 +01:00
<img alt="Open Collective backers and sponsors" src="https://img.shields.io/opencollective/all/guardianproject?style=flat-square">
</a>
</p>
## lipu pali pi ilo jasima
*Main website and user guide.*
2025-05-21 11:43:04 +01:00
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
2025-06-03 17:39:54 +01:00
A Nix flake is included that allows installation of all the tools required for development.
Deployment happens in a Forgejo action which builds and deploys the result to Netlify.
2025-05-21 11:43:04 +01:00
### Installation
2025-06-03 17:39:54 +01:00
```bash
nix develop --command npm install
2025-05-21 11:43:04 +01:00
```
### Local Development
2025-06-03 17:39:54 +01:00
```bash
nix develop --command npm run start
2025-05-21 11:43:04 +01:00
```
2025-06-03 17:39:54 +01:00
This command starts a local development server and opens up a browser window.
Most changes are reflected live without having to restart the server.
2025-05-21 11:43:04 +01:00
### Build
2025-06-03 17:39:54 +01:00
```bash
nix develop --command npm run docusaurus gen-api-docs api # Generates the OpenAPI documentation
nix develop --command npm run build
2025-05-21 11:43:04 +01:00
```
This command generates static content into the `build` directory and can be served using any static contents hosting service.
2025-06-03 17:39:54 +01:00
### Deploy
2025-05-21 11:43:04 +01:00
2025-06-03 17:39:54 +01:00
```bash
nix develop --command netlify deploy
2025-05-21 11:43:04 +01:00
```
2025-06-03 17:39:54 +01:00
### Copyright
2025-05-21 11:43:04 +01:00
2025-06-03 17:39:54 +01:00
Copyright © 2022-2025 SR2 Communications Limited.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
2025-05-21 11:43:04 +01:00
2025-06-03 17:39:54 +01:00
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.