2021-12-17 11:38:57 +01:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
2022-01-01 16:14:00 +01:00
# Armadietto for YunoHost
2021-12-17 11:38:57 +01:00
2023-01-28 08:58:12 +01:00
[![Integration level ](https://dash.yunohost.org/integration/armadietto.svg )](https://dash.yunohost.org/appci/app/armadietto) ![Working status ](https://ci-apps.yunohost.org/ci/badges/armadietto.status.svg ) ![Maintenance status ](https://ci-apps.yunohost.org/ci/badges/armadietto.maintain.svg )
2023-03-31 21:40:34 +02:00
2021-12-18 18:10:41 +01:00
[![Install Armadietto with YunoHost ](https://install-app.yunohost.org/install-with-yunohost.svg )](https://install-app.yunohost.org/?app=armadietto)
2021-12-17 11:38:57 +01:00
*[Lire ce readme en français.](./README_fr.md)*
2022-01-01 16:14:00 +01:00
> *This package allows you to install Armadietto quickly and simply on a YunoHost server.
2021-12-17 11:38:57 +01:00
If you don't have YunoHost, please consult [the guide ](https://yunohost.org/#/install ) to learn how to install it.*
2022-01-01 16:14:00 +01:00
## Overview
2021-12-18 18:10:41 +01:00
[Armadietto ](https://github.com/remotestorage/armadietto/ ) is a [remoteStorage ](https://remotestorage.io ) server written for Node.js.
2021-12-17 11:38:57 +01:00
2022-01-21 04:42:56 +01:00
Armadietto is maintained by the remoteStorage community, ([IRC](https://web.libera.chat/#remotestorage), [forums ](https://community.remotestorage.io/ )).
2021-12-17 11:38:57 +01:00
2021-12-18 18:10:41 +01:00
> ### :warning: WARNING
> Please do not consider `armadietto` production ready, this project is still
> considered experimental. As with any alpha-stage storage technology, you
> MUST expect that it will eat your data and take precautions against this. You
> SHOULD expect that its APIs and storage schemas will change before it is
> labelled stable.
2021-12-17 11:38:57 +01:00
2022-01-21 04:42:56 +01:00
### Installation option
User registration is not allowed out of the box.
This option can be enabled in the configuration panel.
2022-01-01 16:14:00 +01:00
2022-01-21 04:42:56 +01:00
### Application for remoteStorage
2022-01-01 16:14:00 +01:00
2022-01-21 04:42:56 +01:00
[Here ](https://remotestorage.io/apps/ ) is a non-exhaustive list of apps that have integrated remoteStorage as a storage/sync option.
2022-01-01 16:14:00 +01:00
2023-01-13 09:56:18 +01:00
**Shipped version:** 0.2.0~ynh2
2021-12-17 11:38:57 +01:00
2022-01-01 16:14:00 +01:00
## Screenshots
2022-06-01 01:26:22 +02:00
![Screenshot of Armadietto ](./doc/screenshots/armadietto-welcome.png )
![Screenshot of Armadietto ](./doc/screenshots/armadietto-signup.png )
2021-12-17 11:38:57 +01:00
2022-01-01 16:14:00 +01:00
## Disclaimers / important information
2021-12-17 11:38:57 +01:00
2022-01-01 16:14:00 +01:00
### :warning: WARNING
2022-01-21 04:42:56 +01:00
The Armadietto_ynh package is still under development, so you should expect some undocumented changes before it is labeled stable.
2022-01-01 16:14:00 +01:00
2022-01-21 04:42:56 +01:00
### :information_source: Security considerations from [Armadietto](https://github.com/remotestorage/armadietto/) :
2022-01-02 02:37:17 +01:00
2022-01-21 04:42:56 +01:00
> #### **Storage security**
2022-01-02 02:37:17 +01:00
>
2022-01-21 04:42:56 +01:00
> In production, we recommend that you restrict access to the files managed by your armadietto server as much as possible. This is particularly true if you host your storage on a machine with other web applications; you need to protect your files in the event that one of those apps is exploited.
2022-01-02 02:37:17 +01:00
>
2022-01-21 04:42:56 +01:00
> You should take these steps to keep your storage safe:
2022-01-02 02:37:17 +01:00
>
> - Pick a unique Unix user to run your server process; no other process on the box should run as this user: sudo useradd armadietto --system --no-create-home
2022-01-01 16:14:00 +01:00
>
2022-01-02 02:37:17 +01:00
> - Do not run other applications as root, or as any user that could access files owned by your armadietto user
>
> - Make sure the directory path/to/storage cannot be read, written or executed by anyone but this user: sudo chmod 0700 /path/to/storage && sudo chown armadietto /path/to/storage
>
> - Do not run armadietto as root; if you need to bind to port 80 or 443 use a reverse proxy like nginx, Apache2, caddy, lighttpd or enable bind capability: setcap 'cap_net_bind_service=+ep' `which armadietto`
>
> - Ideally, run your storage inside a container or on a dedicated machine
< br / >
### **Important Notes**
2021-12-17 11:38:57 +01:00
2022-01-01 16:14:00 +01:00
- RemoteStorage requires a dedicated domain, so obtain one and add it using the YunoHost admin panel. **Domains -> Add domain** .
- As RemoteStorage uses the full domain and is installed on the root, you can create a subdomain such as remote.domain.tld.
- Don't forget to update your DNS if you manage them manually.
2021-12-17 11:38:57 +01:00
2022-01-01 16:14:00 +01:00
- RemoteStorage requires browser-approved SSL certificates. If you have certificates not issued by [Let's Encrypt ](https://letsencrypt.org/ ), install them manually as usual.
2021-12-17 11:38:57 +01:00
## Documentation and resources
2022-05-27 17:03:37 +02:00
* Official app website: < https: // remotestorage . io />
* Upstream app code repository: < https: // github . com / remotestorage / armadietto >
* YunoHost documentation for this app: < https: // yunohost . org / app_armadietto >
* Report a bug: < https: // github . com / YunoHost-Apps / armadietto_ynh / issues >
2021-12-17 11:38:57 +01:00
## Developer info
2022-01-01 16:14:00 +01:00
Please send your pull request to the [testing branch ](https://github.com/YunoHost-Apps/armadietto_ynh/tree/testing ).
2021-12-17 11:38:57 +01:00
To try the testing branch, please proceed like that.
2022-05-27 17:03:37 +02:00
``` bash
2022-01-01 16:14:00 +01:00
sudo yunohost app install https://github.com/YunoHost-Apps/armadietto_ynh/tree/testing --debug
2021-12-17 11:38:57 +01:00
or
2022-01-01 16:14:00 +01:00
sudo yunohost app upgrade armadietto -u https://github.com/YunoHost-Apps/armadietto_ynh/tree/testing --debug
2021-12-17 11:38:57 +01:00
```
2022-01-01 16:14:00 +01:00
2022-05-27 17:03:37 +02:00
**More info regarding app packaging:** < https: / / yunohost . org / packaging_apps >