]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blob - README.md
Small README updates. Assume subdirectory and some warning about
[irc/unrealircd/unrealircd-webpanel.git] / README.md
1 # unrealircd-webpanel
2 UnrealIRCd Administration WebPanel
3
4 <img src="https://i.ibb.co/7jtddG4/Screenshot-from-2022-12-31-04-53-35.png">
5
6 ## Prerequisites ##
7 - PHP 7 or later
8 - A webserver
9 - UnrealIRCd 6.0.5
10
11 ## Installation ##
12
13 Note: This instructional assumes this is going to be hosted in the webroot directory `/var/www/` (html/) directory.
14 You may want to hide this somehow. Well, you definitely should. I don't know how to do that though. Sorry.
15
16 Please make sure you have [correctly setup UnrealIRCd for use with JSON-RPC](https://www.unrealircd.org/docs/JSON-RPC) before you continue.
17
18 - Go to your webserver root, for example `/var/www/html/`, and clone
19 this repository:
20 ```
21 cd /var/www/html
22 git clone https://github.com/ValwareIRC/unrealircd-webpanel
23 ```
24
25 - Go into the directory and run composer to install the dependencies
26 (If you don't have composer, then [install it](https://getcomposer.org/download/) first):
27 ```
28 cd unrealircd-webpanel
29 composer install
30 ```
31
32 - Edit the configuration file
33 ```
34 cp config.php.sample config.php
35 nano config.php
36 ```
37 The file will look like this:<br>
38 <img src="https://i.ibb.co/zZ7LsXD/Screenshot-from-2023-01-04-17-03-20.png">
39
40 Edit the configuration file to match your UnrealIRCd's RPC credentials and save
41
42 NOTE: You most likely want to put the webpanel behind a login, using a
43 `.htaccess` file or similar.