Web application for the management of concepts, classifications and other statistical objects.
The documentation can be found in the docs folder and browsed online.
The application is tested on Node.js 20.
git clone git@github.com:InseeFr/Bauhaus.git
cd Bauhaus
yarn
yarn build-insee
yarn start
You can run all tests suites for all modules with this command. You need to run at least once yarn build-insee
.
yarn test:coverage
Or if you want to run tests for a specific module, you can run one of the following commands. These commands will activate the watch
mode, and you will be able to selecta a subset of tests you want to run.
yarn workspace Bauhaus run test --watchAll
yarn workspace bauhaus-codelists run test --watchAll
yarn workspace bauhaus-operations run test --watchAll
yarn workspace bauhaus-structures run test --watchAll
yarn workspace bauhaus-utilities run test --watchAll
You can also run the application thanks to Docker
docker build --file Dockerfile.dev -t bauhaus:front .
docker run -it --rm -v ${PWD}:/app -v /app/node_modules -p 3000:3000 bauhaus:front
If you are using, you should install the following dependency.
yarn global add windows-build-tools