TABLEAUX is fully functional in development.
node: 24
Please build the app before starting it:
npm ci --silent && npm run build --mode=staging
To install it : npm i
To run it locally : npm start
And the project should be available via your favorite browser at http://localhost:5173/.
To create build: npm run build
To run local server: serve -s server/dist (requirement: install serve. npm -g serve)
The react client app is served by the node server in production.
Vite build creates a build in /dist folder. This folder has to be moved into the /server folder.
The version number follows semver.
To deploy in production, simply run this command from your staging branch :
npm run deploy:[patch|minor|major]
- Add the new board in the Mongo of prod, in the database "tableaux-prod", in the collection "board".
- Move the dedicated part in the router /client/src/commons/router.tsx, out of the
!isInProduction()section. - Add the needed charts into /client/src/boards/integration/charts-registry.tsx
- Push in prod (cf. previous paragraph)