Skip to main content

FarmTo Client

Overview

Follow these steps to get the FarmTo client app running locally for the Inventory project.

  1. CD to the directory where you want to install the code
  2. Run git clone https://github.com/Hectare-Agritech/farmto-client
  3. CD into directory cd farmto-client
  4. Checkout branch and install git checkout master && npm install
  5. Open the env.local file in the repo root and change the API_INVENTORY_BASE_URL to http://local.hctr.io:8001
  6. Run the app npm run dev
  7. Make sure your local API is running, then login here http://localhost:3000/inventory/auth/login