Prerequisites

  • Node.js v18+
  • npm v9+

Instructions

  1. Setup the environment
node tools/setup-dev.js
  1. Start the environment
This command will start flo with sqlite3 and in memory queue.
npm start
By default, the development setup only builds specific hubs.Open the file packages/server/api/.env and add comma-separated list of hubs to make available.For more details, check out the Hub Development section.
  1. Go to localhost:4200 on your web browser and sign in with these details:
Email: dev@ap.com Password: 12345678

Hub Development

When FLO_SYNC_MODE is set to OFFICIAL_AUTO, all hubs are automatically loaded from the cloud API and synced to the database on first launch. This process may take a few seconds to several minutes depending on your internet connection. For local development, hubs are loaded from your local dist folder instead of the database. To enable this, set the FLO_DEV_HUBS environment variable with a comma-separated list of hubs. For example, to develop with google-sheets and cal-com:
FLO_DEV_HUBS=google-sheets,cal-com npm start