Xitmer Documentation

Note: This documentation is of the latest version of the Xitmer client software. If you find any information in this documentation to be not working, then please ensure you have the latest version of the software (v0.5.2) installed on your system.

Coding

Once your services are up and running you can use VS Code or any other code editor to carry out coding and your development work. However, Xitmer makes it easy for you to open the code of your application in Visual Studio Code so that you can start coding easily.

Note: You must ensure that VS Code is installed in your system for the commands mentioned in this section to work. Few additional extensions also may be required by VS Code which you should install when prompted by VS Code.

To open the codebase of your application/service for development issue the following command in the terminal of the host machine:

xit code service-name

The above command will open the directory where code is located (either in the host machine or in the container) in Visual Studio Code.

If you have specified different environments of your application in the service definition file along with their ssh connection information, then you can also open the codebase of those environments directly by issuing a command in the following pattern:

xit code service-name env_name

For example, to open the codebase of the prod enviornment of the demo service definition you can issue the xit code my_app prod command.

This feature of opening the codebase of any required environment reduces context switching and makes development easier.