1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hubzilla_ynh.git synced 2024-09-03 19:26:21 +02:00

Updated readme for 2.4.1 updates and added information on how to get admin rights for an account

This commit is contained in:
Anmol 2017-07-17 05:46:09 +05:30
parent b53fa2f477
commit 308fb41937

View file

@ -1,25 +1,25 @@
# YunoHost App for Hubzilla Hub # YunoHost App for Hubzilla Hub
## Hubzilla ## Hubzilla
[Hubzilla](http://hubzilla.org) is a powerful platform for creating interconnected websites featuring a decentralized identity, communications, and permissions framework built using common webserver technology. [Hubzilla](http://hubzilla.org) is a powerful platform for creating interconnected websites featuring a decentralized identity, commuhubzilla_test1nications, and permissions framework built using common webserver technology.
Current snapshot in *sources*: Current snapshot in *sources*:
* https://github.com/redmatrix/hubzilla: 2.4 (commit 47d55694a4c84b6c12c0db61a69bcac8b671b20e) * https://github.com/redmatrix/hubzilla: 2.4.1 (commit 46e079beea8eb4cbcdd938681c702ef7481a3337)
* https://github.com/redmatrix/hubzilla-addons: 2.4 (commit 251c426df8dee0b3e1a582e4cbeb3cd26be00785) * https://github.com/redmatrix/hubzilla-addons: 2.4.1 (commit 30f3104ebe2121a433d174bb3bcb703bb9787bd3)
## Important Notes ## Important Notes
Before installing, read the [Hubzilla installation instructions](https://github.com/redmatrix/hubzilla/blob/master/install/INSTALL.txt) for important information about Before installing, read the [Hubzilla installation instructions](https://github.com/redmatrix/hubzilla/blob/master/install/INSTALL.txt) for important information about
- SSL certificate validation requirement (now with support for [Let's Encrypt!](https://letsencrypt.org)). See Installation section below. - SSL certificate validation requirement (now with support for [Let's Encrypt!](https://letsencrypt.org)). See Installation section below.
- Dedicated domain (must install under web root like **https://hub.example.com/** not **https://example.com/hub/** ) - Dedicated domain (must install under web root like **https://hub.example.com/** not **https://example.com/hub/** )
- Required packages (all of these are not yet installed by this YunoHost installer package). This YunoHost package installs the following additional packages: - Required packages (all of these are not yet installed by this YunoHost installer package). This YunoHost package installs the following additional packages:
- php5-cli - php5-cli
- php5-imagick - php5-imagick
- php5-gd - php5-gd
- php5-mcrypt - php5-mcrypt
- This package requires a **system-wide change to php.ini** that enables the `exec()` perimission. [See the PHP manual for more information](php.net/manual/function.exec.php). - This package requires a **system-wide change to php.ini** that enables the `exec()` perimission. [See the PHP manual for more information](php.net/manual/function.exec.php).
@ -31,10 +31,10 @@ Hubzilla requires a dedicated domain, so obtain one and add it using the [YunoHo
Hubzilla requires browser-approved SSL certificates. If you have certificates not issued by [Let's Encrypt](https://letsencrypt.org/), install them manually as usual. Hubzilla requires browser-approved SSL certificates. If you have certificates not issued by [Let's Encrypt](https://letsencrypt.org/), install them manually as usual.
#### YunoHost >= 2.5 : #### YunoHost >= 2.5 :
Once the dedicated domain has been added to YunoHost, go again to the admin panel, go to domains then select your domain and click on "Install Let's Encrypt certificate". Once the dedicated domain has been added to YunoHost, go again to the admin panel, go to domains then select your domain and click on "Install Let's Encrypt certificate".
#### Yunohost < 2.5 : #### Yunohost < 2.5 :
For older versions of YunoHost, once you have added the new domain, SSH into your YunoHost server and perform the following steps: For older versions of YunoHost, once you have added the new domain, SSH into your YunoHost server and perform the following steps:
1. Install [certbot](https://certbot.eff.org/) to make installing free SSL certificates from Let's Encrypt simple. 1. Install [certbot](https://certbot.eff.org/) to make installing free SSL certificates from Let's Encrypt simple.
@ -42,20 +42,20 @@ For older versions of YunoHost, once you have added the new domain, SSH into you
1. Stop nginx 1. Stop nginx
service nginx stop service nginx stop
1. Run the **certbot** utility with the **certonly** option 1. Run the **certbot** utility with the **certonly** option
certbot certonly certbot certonly
1. Copy the generated certificate and key into the appropriate location for YunoHost to use 1. Copy the generated certificate and key into the appropriate location for YunoHost to use
cp /etc/letsencrypt/live/YOUR_DOMAIN/fullchain.pem /etc/yunohost/certs/YOUR_DOMAIN/crt.pem cp /etc/letsencrypt/live/YOUR_DOMAIN/fullchain.pem /etc/yunohost/certs/YOUR_DOMAIN/crt.pem
cp /etc/letsencrypt/live/YOUR_DOMAIN/privkey.pem /etc/yunohost/certs/YOUR_DOMAIN/key.pem cp /etc/letsencrypt/live/YOUR_DOMAIN/privkey.pem /etc/yunohost/certs/YOUR_DOMAIN/key.pem
1. Restart nginx 1. Restart nginx
service nginx start service nginx start
### Install the Hubzilla application ### Install the Hubzilla application
Use the [YunoHost admin](https://reticu.li/yunohost/admin) panel to install Hubzilla by entering the GitHub repo address in the custom app URL Use the [YunoHost admin](https://reticu.li/yunohost/admin) panel to install Hubzilla by entering the GitHub repo address in the custom app URL
@ -64,3 +64,5 @@ Use the [YunoHost admin](https://reticu.li/yunohost/admin) panel to install Hubz
Make sure to select your domain from the previous section as the application domain. Also set the application to Public. Make sure to select your domain from the previous section as the application domain. Also set the application to Public.
When installation is complete, you will need to visit your new hub and register a new account using the email address you specified in the app installation form. You should then be able to log in and create your first channel. When installation is complete, you will need to visit your new hub and register a new account using the email address you specified in the app installation form. You should then be able to log in and create your first channel.
<strong>If above method do not work for you then you have give an account administrator access through phpMYAdmin by
adding 4096 to the account_roles for that account in the database.</strong>