mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
update README.md
This commit is contained in:
parent
90ff8b516e
commit
49ded4f732
25
README.md
25
README.md
@ -1,6 +1,6 @@
|
||||
# NextCloudPi
|
||||
|
||||

|
||||

|
||||
|
||||
This is the build code for [NextCloudPi](https://ownyourbits.com/2017/02/13/nextcloud-ready-raspberry-pi-image/).
|
||||
|
||||
@ -28,6 +28,7 @@ This code also generates the [NextCloudPi ARM docker image](https://hub.docker.c
|
||||
|
||||
## Extras
|
||||
|
||||
* NextCloudPi Web Panel ( NEW 07-24-2017 )
|
||||
* Wi-Fi ready ( NEW 03-31-2017 )
|
||||
* Automatic security updates, activated by default. ( NEW 03-21-2017 )
|
||||
* Let’s Encrypt for trusted HTTPS certificates.( NEW 03-16-2017 )
|
||||
@ -48,6 +49,20 @@ This code also generates the [NextCloudPi ARM docker image](https://hub.docker.c
|
||||
|
||||
Any extra can be installed independently in a running Raspbian instance through SSH. See `installer.sh`
|
||||
|
||||
Extras can be activated and configured using the web interface at HTTPS port 4443
|
||||
|
||||
|
||||

|
||||
|
||||
, or from the command line from
|
||||
|
||||
```
|
||||
sudo nextcloudpi-config
|
||||
```
|
||||
|
||||

|
||||
|
||||
|
||||
## How to build
|
||||
|
||||
NextCloudPi is based on Raspbian and is automatically generated using QEMU.
|
||||
@ -58,12 +73,6 @@ cd nextcloudpi
|
||||
./batch.sh 192.168.0.145 # change to your QEMU raspbian IP
|
||||
```
|
||||
|
||||
Extras can be activated and configured using
|
||||
|
||||
```
|
||||
sudo nextcloudpi-config
|
||||
```
|
||||
|
||||
The docker image can be generated in an ARM environment with docker
|
||||
|
||||
```
|
||||
@ -71,8 +80,6 @@ git clone https://github.com/nextcloud/nextcloudpi.git
|
||||
make -C nextcloudpi
|
||||
```
|
||||
|
||||

|
||||
|
||||
## Downloads
|
||||
|
||||
Get the image, find details and more instructions at
|
||||
|
||||
@ -19,7 +19,7 @@ if ( $_POST['action'] == "cfgreq" )
|
||||
//CSFR check
|
||||
$token = isset($_POST['csrf_token']) ? $_POST['csrf_token'] : '';
|
||||
if ( empty($token) || !validateCSRFToken($token) )
|
||||
exit( '{ "output": "Unauthorized request" }' );
|
||||
exit( '{ "output": "Unauthorized request. Try reloading the page" }' );
|
||||
|
||||
$path = '/usr/local/etc/nextcloudpi-config.d/';
|
||||
$files = array_diff(scandir($path), array('.', '..'));
|
||||
@ -55,7 +55,7 @@ else if ( $_POST['action'] == "launch" && $_POST['config'] )
|
||||
// CSRF check
|
||||
$token = isset($_POST['csrf_token']) ? $_POST['csrf_token'] : '';
|
||||
if ( empty($token) || !validateCSRFToken($token) )
|
||||
exit( '{ "output": "Unauthorized request" }' );
|
||||
exit( '{ "output": "Unauthorized request. Try reloading the page" }' );
|
||||
|
||||
chdir('/usr/local/etc/nextcloudpi-config.d/');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user