# Installation

{% stepper %}
{% step %}

### Install devhub\_lib

Download and install the required library and configure it according to your framework.

Download [https://github.com/DEVHUB-GG/devhub\_lib ](https://github.com/DEVHUB-GG/devhub_lib)or use command

```bash
git clone https://github.com/DEVHUB-GG/devhub_lib.git
```

{% endstep %}

{% step %}

### Install resources from keymaster

* Download the <mark style="color:red;">SKILL TREE</mark> script file from keymaster.&#x20;
* If owned download the <mark style="color:red;">SKILL TREE GENERATOR</mark> script file from keymaster.&#x20;
  {% endstep %}

{% step %}

### Start resources

Move the files to the `resources` folder on your server and add the following lines to your server.cfg in the correct order:

```bash
ensure devhub_lib        # Must be loaded before devhub_skillTree
ensure devhub_skillTree_generator  # Only if you own exclusive version
ensure devhub_skillTree  # Main resource
```

{% endstep %}

{% step %}

### Database Setup

Import the `sql.sql` file into your database.
{% endstep %}

{% step %}

### Restart your server

{% endstep %}
{% endstepper %}

{% hint style="danger" %}
DO NOT CHANGE RESOURCE NAME
{% endhint %}

{% content-ref url="../scripts/devhub\_lib-needed-for-each-script" %}
[devhub\_lib-needed-for-each-script](https://docs.devhub.gg/scripts/devhub_lib-needed-for-each-script)
{% endcontent-ref %}

{% content-ref url="../download-purchased-assets" %}
[download-purchased-assets](https://docs.devhub.gg/download-purchased-assets)
{% endcontent-ref %}
