Run Visual DB on Windows

Download Windows binaries

Windows-specific binaries can be downloaded here: https://files.visualdb.com/downloads/visualdb.zip

After downloading the zip file, unzip it. Inside, you will find visualdb.cmd. This is the script we will run, but first we need to set some environment variables.

Environment variables

The following environment variables are required. You can get a replacement for visualdb.cmd that sets these environment variables from https://app.visualdb.com/self-host


    set VDB_API_KEY=********************************
    set VDB_ENCRYPTION_KEY=**********************
    set VDB_HOST_ID=******************************
    set VDB_TOKEN_SECRET=*********************************
    set VDB_SITE_URL=http://0.0.0.0:8080
    set VDB_DATA_DIR=%PUBLIC%\Documents\VisualDB
                            

Run Visual DB

Open a command prompt and change directory to the folder containing visualdb.cmd. Then run visualdb.cmd.

Visit your Visual DB server

Start your web browser and point it to http://localhost:8080

To log in, use the account you used to generate the environment variables above.

Next steps

If you are able to open Visual DB in your browser, the next step is to open the port in Windows Firewall. This is needed to access the website from other computers on your intranet.

If you are using Visual DB in a production setting, you must set up an SSL certificate. See the ReadMe file in the Visual DB folder for instructions.

Contact support if you need help!