From eb64bcb15dfbbbbc46cb7eb1f63fb4c3e70adc1a Mon Sep 17 00:00:00 2001 From: Paul Rock Date: Sun, 28 Jan 2018 17:39:48 +0300 Subject: [PATCH] readme file updated --- README.md | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 437719b..f549aa1 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,20 @@ Administrate its OpenVPN with a web interface (logs visualisations, users managi * PHP >= 5.5 with modules: * zip * pdo_mysql - * bower + * composer + * npm * unzip * wget * sed * curl +### Debian Stretch + +```` +# apt-get install openvpn nginx composer php-fpm php-mysql mysql-server php nodejs unzip git wget sed curl +# ln -s /usr/bin/nodejs /usr/bin/node +```` + ### Debian Jessie ```` @@ -46,16 +54,29 @@ Administrate its OpenVPN with a web interface (logs visualisations, users managi Only tested on Debian Jessie. Feel free to open issues. -## Installation +## Installation (full) * Setup OpenVPN and the web application: $ cd ~/my_coding_workspace $ git clone https://github.com/Chocobozzz/OpenVPN-Admin openvpn-admin $ cd openvpn-admin - # ./install.sh www_base_dir web_user web_group + $ npm install + $ composer install + +You can predefine all environment parameters, just copy example and put your changes in `.env` + + # cp .env.example .env + +If you want to make ths full installation (with preparing of MySQL, Web-server and OpenVPN) + + # ./install.sh www_base_dir web_user web_group + +If you want to configure only OpenVPN: + + # ./install-openvpn.sh - * Setup the web server (Apache, NGinx...) to serve the web application. + * Setup the web server (Apache, Nginx...) to serve the web application. * Create the admin of the web application by visiting `http://your-installation/index.php?installation` ## Usage