-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.0.4 add error indication if FFI is disabled
- Loading branch information
Showing
5 changed files
with
71 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,46 @@ | |
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd"> | ||
<id>storj</id> | ||
<name>Storj</name> | ||
<summary>Storage backend built on Storj DCS.</summary> | ||
<description><![CDATA[A Storj Community contributed decentralized storage backend for Nextcloud built on Storj DCS.]]></description> | ||
<version>0.0.3</version> | ||
<summary>Decentralized storage backend</summary> | ||
<description><![CDATA[External storage support for Storj Decentralized Cloud Storage. | ||
Made by the Storj community. | ||
## Prerequisites | ||
Currently only works on x64. | ||
The PHP installation should have the FFI extension loaded and enabled unconditionally in php.ini: | ||
``` | ||
extension=ffi | ||
ffi.enable=true | ||
``` | ||
## Configuration | ||
Storj works like any external object storage. See the documentation on docs.nextcloud.com: | ||
* [Configuring External Storage (GUI)](https://docs.nextcloud.com/server/22/admin_manual/configuration_files/external_storage_configuration_gui.html) | ||
* [Configuring Object Storage as Primary Storage](https://docs.nextcloud.com/server/20/admin_manual/configuration_files/primary_storage.html) | ||
This is the configuration to set Storj as your primary storage: | ||
```php | ||
$CONFIG = [ | ||
'objectstore' => [ | ||
'class' => \OCA\Storj\StorjObjectStore::class, | ||
'arguments' => [ | ||
'serialized_access' => 'myaccessgrant', | ||
'bucket' => 'mynextcloudbucket', | ||
] | ||
] | ||
]; | ||
``` | ||
]]></description> | ||
<version>0.0.4</version> | ||
<licence>agpl</licence> | ||
<author mail="[email protected]" homepage="https://github.com/erikvv">Erik van Velzen</author> | ||
<namespace>Storj</namespace> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters