-
Notifications
You must be signed in to change notification settings - Fork 789
Installation
Haru edited this page Jun 27, 2026
·
5 revisions
- Install the prerequisites. check Building.
- Clone the Hercules repository using a git client, into a new
folder.
- If you do not want to use the command line, you can instead clone with GitHub Desktop.
- Run
mariadb.batto automatically install and configure MariaDB. - Build Hercules. check Building.
- Install the prerequisites. check Building.
- Install a MySQL-compatible server, such as MariaDB (recommended) or MySQL Community Edition
- Clone the Hercules repository Hercules repository using a git client, into a new folder.
- Connect to the MySQL server as root:
- Create a database (hercules):
CREATE DATABASE hercules; - Create a user (hercules):
CREATE USER 'hercules'@'localhost' IDENTIFIED BY 'password';. - Give permissions (GRANT SELECT,INSERT,UPDATE,DELETE) to the user:
GRANT SELECT,INSERT,UPDATE,DELETE ON hercules.* TO 'hercules'@'localhost';
- Create a database (hercules):
- Connect to the MySQL server as the new user:
- Import the .sql files in /sql-files/ into the new database.
- Build Hercules. check Building.
- Install the prerequisites through your distribution's package manager. check Building.
- Clone the Hercules repository
git clone https://github.com/HerculesWS/Hercules.git ~/Hercules - Configure the MySQL server and start it.
- Connect to the MySQL server as root:
- Create a database (hercules):
CREATE DATABASE hercules; - Create a user (hercules):
CREATE USER 'hercules'@'localhost' IDENTIFIED BY 'password';. - Give permissions (GRANT SELECT,INSERT,UPDATE,DELETE) to the user:
GRANT SELECT,INSERT,UPDATE,DELETE ON hercules.* TO 'hercules'@'localhost';
- Create a database (hercules):
- Connect to the MySQL server as the new user:
- Import the .sql files in /sql-files/ into the new database.
- Build Hercules. check Building.