Depencedies#
In order for the script to run properly on your server, you must download the scripts below and install them on your server.
| Resource | Download |
|---|---|
| kibra-core | https://github.com/kibradev/kibra-core |
Before continuing with the instructions, you should also read and follow the instructions in the kibra-core documentation.
Place your scripts#
The order on server.cfg should be like this.
start kibra-core
start kibra-vehicleshops
Database Setup#
Check if there is a kibra-mechanics table already established in your database.
If it exists, delete it.
And now, enter this SQL code into your mysql database and set up the table.
CREATE TABLE `kibra-vehicleshops` (
`id` int(11) NOT NULL,
`info` text NOT NULL DEFAULT '[]',
`employees` text NOT NULL DEFAULT '[]',
`vehicles` text NOT NULL DEFAULT '[]',
`history` text NOT NULL DEFAULT '[]',
`requests` text NOT NULL DEFAULT '[]',
`categories` text NOT NULL DEFAULT '[]',
`recentsales` text NOT NULL DEFAULT '[]',
`recentorders` text NOT NULL DEFAULT '[]'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `kibra-vehicleshops`
ADD PRIMARY KEY (`id`);
ALTER TABLE `kibra-vehicleshops`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
COMMIT;
ALTER TABLE owned_vehicles
ADD COLUMN model VARCHAR(255);
Installation Completed#
You have successfully completed the kibra-vehicleshops installation. Restart your server to make sure everything is working.