Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Commit aa8ee92

Browse files
author
Moritz Walter
committed
add install
1 parent b1720a0 commit aa8ee92

File tree

2 files changed

+133
-5
lines changed

2 files changed

+133
-5
lines changed

INSTALL.md

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
2+
[![Discord](https://img.shields.io/discord/340197684688453632.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/CYHuDpx)
3+
<br>
4+
5+
<img src="https://cdn.the-systems.eu/icon-transparent-banner.png" width="300px" />
6+
7+
# <b>CloudNet3-Webinterface</b>
8+
9+
## Requirement
10+
11+
- CloudNet 3.5 and the Rest-Module
12+
13+
- Webserver (or Webspace)
14+
- PHP 8
15+
- PHP Extensions: Curl (apt-get install php8-curl)
16+
- Apache2 Mods: rewrite (a2enmod rewrite)
17+
18+
## Download
19+
20+
You can download the latest version from https://project.the-systems.eu/resources/cloudnet3-webinterface
21+
22+
## Installation
23+
24+
1. Load the files into your Webserve
25+
2. Copy the file config/config-sample.php to config/config.php
26+
3. run the command "composer install" (If this doesn't work, go to "Install Composer")
27+
4. Setup the Webserver
28+
29+
Info: The web interface also works on an external Webspace!
30+
31+
### Webserver Configuration
32+
33+
#### Apache2
34+
35+
1. Go to /etc/apache2/sites-available
36+
2. Create a file with the extension .conf
37+
(Example: webinterface.conf)
38+
3. Add the following and customize it.
39+
40+
<VirtualHost *:80>
41+
ServerName webinterface.domain.com
42+
DocumentRoot "/var/www/webinterface/public"
43+
44+
<Directory /var/www/webinterface/public>
45+
AllowOverride All
46+
</Directory>
47+
48+
49+
</VirtualHost>
50+
51+
4. Activate the page with
52+
53+
a2ensite webinterface.conf
54+
55+
5. Restart Apache2
56+
57+
service apache2 restart
58+
59+
7. Install SSL Certificate with https://certbot.eff.org/
60+
61+
### Install Composer
62+
63+
#### Debian 10
64+
65+
curl -sS https://getcomposer.org/installer | php
66+
php composer.phar install --no-dev -o
67+
68+
# GERMAN
69+
70+
## Vorraussetzungen
71+
72+
- CloudNet 3.5 and the Rest-Module
73+
74+
- Webserver (oder Webspace)
75+
- PHP 8
76+
- PHP Erweiterungen: Curl (apt-get install php8-curl)
77+
- Apache2 Mods: rewrite (a2enmod rewrite)
78+
79+
## Download
80+
81+
Du kannst die aktuelle Version von https://project.the-systems.eu/resources/cloudnet3-webinterface herunterladen
82+
83+
## Installation
84+
85+
1. Lade die Dateien auf deinen Webserver
86+
2. Kopiere die config/config-sample.php in config/config.php und stelle diese ein
87+
3. Führe "composer install" aus (Sollte das nicht funktionieren, befolge "Composer installieren")
88+
4. Richte den Webserver ein
89+
90+
Info: Das Webinterface funktioniert ebenfalls auf einem Externen Webserver/Webspace!
91+
92+
### Webserver Configuration
93+
94+
#### Apache2
95+
96+
1. Gehe zu /etc/apache2/sites-available
97+
2. Erstelle eine Datei mit der Endung .conf
98+
(Beispiel: webinterface.conf)
99+
3. Füge das folgende ein und füge deine Daten ein
100+
101+
<VirtualHost *:80>
102+
ServerName webinterface.domain.com
103+
DocumentRoot "/var/www/webinterface/public"
104+
105+
<Directory /var/www/webinterface/public>
106+
AllowOverride All
107+
</Directory>
108+
109+
110+
</VirtualHost>
111+
112+
4. Aktiviere die Seite mit
113+
114+
a2ensite webinterface.conf
115+
116+
5. Starte Apache2 neu
117+
118+
service apache2 restart
119+
120+
6. Sollte der Kommand nicht funktionieren, führe "a2enmod rewrite" aus
121+
122+
7. Installier ein SSL-Zertifikat mit https://certbot.eff.org/
123+
124+
### Composer installieren
125+
126+
#### Debian 10
127+
128+
curl -sS https://getcomposer.org/installer | php
129+
php composer.phar install --no-dev -o
130+

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,16 @@
66

77
# <b>CloudNet3-Webinterface</b>
88

9-
### A Webinterface for CloudNet 3.4+
9+
### A Webinterface for CloudNet 3.5+
10+
11+
## IMPORTANT: WEBINTERFACE IS NOT STABLE! IT IS STILL IN ALPHA.
1012

1113
### <span style="color: red">The web interface is not compatible with CloudNet v2!</span>
1214

1315
## Installation
1416

1517
#### You can find more information about the installation in the [INSTALL.md](./INSTALL.md) file.
1618

17-
## Updating
18-
19-
#### You can find more information about updating in the [UPDATE.md](./UPDATE.md) file.
20-
2119
## Projectpage
2220

2321
#### https://project.the-systems.eu/resources/cloudnet3-webinterface

0 commit comments

Comments
 (0)