Web Usage
Last updated
Last updated
Running MelodyMine on localhost for developing parts of the website.
Before you start, you need a MySQL
database.
You can use to install MySQL
. Download and install XAMPP from the link below, then create a database for your server after installation.
You also need to have installed on your system. If it's not installed, download and install Node.js.
Download the repository from GitHub.
.env
file for WebSocket ServerNavigate to the web/server
directory and create a file named .env
with the following values.
Please note that the WEBSOCKET_PLUGIN_AUTH_KEY
must match the plugin_key
in the plugin's settings.yml
file.
and also, the WEBSOCKET_WEB_AUTH_KEY
must match the WEBSOCKET_KEY
in the client's .env
file.
Open a terminal in the web/server
directory and run the following command.
.env
file for ClientNavigate to the web/client
directory and create a file named .env
with the following values.
Please note that the WEBSOCKET_KEY
in the server's .env
file must match the WEBSOCKET_WEB_AUTH_KEY
.
Open a terminal in the web/client
directory and run the following command.
If you don't want to use Next.js in developer mode, instead of running
use
Download the latest version of the MelodyMine plugin from the following link and place it in the plugins
folder of your server.
mysql.yml
fileRestart the server to generate the plugin files. After the files are created, navigate to the server/plugins/MelodyMine
directory,
open the mysql.yml
file, and enter your database details.
settings.yml
fileNavigate to the server/plugins/MelodyMine
directory and open the settings.yml
file.
Set the plugin_key
value to exactly the same value you set in the server's .env
file for WEBSOCKET_PLUGIN_AUTH_KEY
:
Restart the server to apply the changes. After the server restarts, enter the server and run the command /melodymine start link
.
After receiving the link, click on it to enter the voice chat.
If you encounter any issues during the MelodyMine installation, feel free to join the Discord support channel and seek assistance .