# Deploy node with Docker

## Get the script

First we need to get the shell script from the Kryptokrona repository. Go to <https://github.com/kryptokrona/kryptokrona/tree/master> and to the directory called deploy. Inside this directory you will find a `setup-node.sh` file. Download this file to your computer. Now we just have to modify this script with our own constant values. Open the file up in your favorite text editor.

```
DOMAIN="node.c1phx.com"
EMAIL="c1phx@proton.me"
```

Change these values to your own values and save the file.

## Upload script to VPS

Now we need to upload this to the VPS. We are going to go through how to set it up on a Ubuntu VPS server. You can either copy all the contents of this file and login to your VPS and create this file with nano/vim and save it as `setup-node.sh` or send it through scp.

```
scp ~/Downloads/setup-node.sh ubuntu@ip-address:/home/ubuntu/setup-node.sh
```

This will copy the file to the home directory of the user ubuntu. Now we just have to login to the VPS and set the executable permissions.

```
ssh ubuntu@ip-address
chmod +x setup.node.sh
```

## Run script

Now we can run the file and it will take care of everything for us.

```
./setup-node.sh
```

This process will take a while since it will build the Kryptokrona core to a Docker Image.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kryptokrona.org/node/deploy-your-own-node.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
