Windows WSL Local Development - Enterprise-CMCS/macpro-mako GitHub Wiki

Windows machines are unable to run the run file so a little work around is needed in order to get it work on a windows machine.

  1. Set up WSL/Ubuntu on your machine.
  2. After you get WSL set up GIT and BUN in your development server. How to install bun
  3. Download the repository in your WSL instance. Do not install on windows and have it point to the directory there. Can cause slowness of it(will still work just not how you should.
  4. Install VS code or an IDE and open the repository
  5. In a terminal add the following environment variables
export PROJECT=mako
export REGION_A=us-east-1
export TURBO_TELEMETRY_DISABLED=1
export AWS_ACCESS_KEY_ID=**KEY YOU GET FROM KION***
export AWS_SECRET_ACCESS_KEY=***KEY YOU GET FROM KION***
export AWS_SESSION_TOKEN=***TOKEN YOU GET FROM KION***
  1. Run the following commands to deploy the UI for the application to deploy the UI in your local environment. Defaults to port 5000
set -eu -o pipefail
bun install
bun build:cli && node ./.build_run/src/run.js ui