Setup JavaScript Environment

Setup JavaScript bot development and testing environment on top of okteto cloud

Okteto cloud is a very user friendly kubernets based cloud native development platform with generous free tier, Learn more about it at https://okteto.com/. Install the Okteto CLI tool and login from the CLI. Finish the basic get started guide from okteto docs.

Setup okteto manifest

To describe your okteto container (new machine instance). You need to create okteto.yml file. For this example, you can setup your file like below (default template for JavaScript).

name: example-bot-fine-exchange
image: okteto/node:12
command: bash
sync:
- .:/usr/src/app
forward:
- 9229:9229
- 3000:3000

Run your container

With okteto up your new container will be created and start running in the cloud which will be accessible on your local machine with all the nodejs dependencies installed with the image you used to deploy your container.


After your container is up and running, You can start developing your automatic trading scripts through the API docs provided in this guide. Everything on cloud directory /usr/src/app will be in sync with your current directory as we passed in the manifest file.