Setting up the Smartr gateway allows you to streamline interactions between your local setup and Smartr's cloud services, making it easier to manage your projects.
Create a Gateway Folder
Start of by creating a new folder on your system to hold the gateway configuration files, for example, smartr-gateway-setup.
If you want to use the Docker version of SQL version, use the Tab Docker (Quickest). If you already have the SQL Server Locally then use the second option.
LOGGER_LEVEL=debug
NODE_ENV=production
SMARTR_GATEWAY_PORT=51988
SMARTR_GATEWAY_HOST=0.0.0.0
ROOT_USER_DIRECTORY=[User root directory ex: C:/Users/YourProfileName]
DOCKER_PROJECTS_DIRECTORY=/home/SmartrProjects
MOUNTED_PROJECTS_DIRECTORY=[Local Directory where the user wants the projects to be created in ex: C:/Projects]
OPENID_CLIENT_ID=SmartrAlpha
OPENID_WELL_KNOWN_URI=https://beta.auth.smartrcode.ai/realms/Smartr/.well-known/openid-configuration
MSSQL_SA_PASSWORD=[mssql password]
LOGGER_LEVEL=debug
NODE_ENV=production
SMARTR_GATEWAY_PORT=51988
SMARTR_GATEWAY_HOST=0.0.0.0
ROOT_USER_DIRECTORY=[User root directory ex: C:/Users/YourProfileName]
DOCKER_PROJECTS_DIRECTORY=/home/SmartrProjects
MOUNTED_PROJECTS_DIRECTORY=[Local Directory where the user wants the projects to be created in ex: C:/Projects]
OPENID_CLIENT_ID=SmartrAlpha
OPENID_WELL_KNOWN_URI=https://beta.auth.smartrcode.ai/realms/Smartr/.well-known/openid-configuration