---
schema_version: "1"
id: 19d40fd00adcf88f3e7698aff03262feb2299b94900d64f05845a3b8a0afcd2a
title: Running ServerSDK on a local computer (optional)
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-t-running-serversdk-on-a-local-computeroptional-.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-t-running-serversdk-on-a-local-computeroptional-.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f490b666557ad25014518aa8701679fd366d054939808d30909e56038fe31ea8
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# Running ServerSDK on a local computer (optional)

If desired, follow the steps in this section to run the ServerSDK on a local computer.

1.  Using a command line terminal, open the root directory: `vop_server_sdk/secure-server-reference-app`).

2.  Run $ npm install to install all dependencies.

3.  Run the following commands:

    1.  $ npm run build - This command will take few seconds to compile and build the typescript files. Once successful, the `/dist` folder is created in the root directory.

    2.  Run `$ npm start` to start the server.

        By default, the server will start listening to port 3000. The base API URL will be: http://localhost:3000/v1/serversdk

    To test whether the API is working, navigate to `http://localhost:3000/v1/serversdk/getcurrencydetail` in a browser. The default currency details are displayed, as shown here:

    ![Server SDK Installation - API test](https://developer.salesforce.com/docs/media/sdk_default_currency.png)

    **note:** Ensure that you comment out the lines in `vop_server_sdk/secure-server-reference-app/app.ts` . These settings are required only when you host using a third-party server such as Heroku.

    ![Server SDK Installation - SDK comment](https://developer.salesforce.com/docs/media/sdk_comment.png)
