Skip to content

nad-au/agentbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgentBox

A Node.js HTTP client package for AgentBox CRM

Monorepo built with Turborepo.

Getting started

  1. Install or update nvm

    nvm is a version manager for node.js, designed to be installed per-user, and invoked per-shell. nvm works on any POSIX-compliant shell (sh, dash, ksh, zsh, bash), in particular on these platforms: unix, macOS, and windows WSL.

  2. Open the shell and change to the monorepo workspace root directory.

    cd monorepo
  3. Install and activate the indicated Node.js version in .nvmrc

    nvm install
  4. Switch to the Node.js version specified in .nvmrc in the current shell. You should run this every time you open a new shell.

    nvm use
    node -v
  5. To avoid running nvm use for each shell, you can set the system default Node.js version as indicated in the .nvmrc. Run the following and restart your shell

    nvm alias default "$(<.nvmrc)"
  6. Global install Yarn

    npm i -g yarn
  7. Global install Turborepo

    yarn global add create-turbo
  8. Install packages

    yarn
  9. Build

    yarn build
  10. To run the unit tests

    yarn test