# Local Deployments

XYZ can be deployed locally by running the server.js node.

In Visual Studio Code we recommend to store the environment settings in the `env:{}` object of the .launch file.

During [**startup**](../infrastructure/server), [server.js](https://github.com/GEOLYTIX/xyz/blob/master/server.js) will check for [dotenv](https://www.npmjs.com/package/dotenv). If found the dotenv settings will be loaded as environment settings.
