Skip to content
Snippets Groups Projects
Commit 6cb14053 authored by Erwan Rouchet's avatar Erwan Rouchet Committed by Bastien Abadie
Browse files

Update dev setup and commands in README

parent 71957cb0
No related branches found
No related tags found
1 merge request!753Update dev setup and commands in README
......@@ -5,16 +5,15 @@
1. Install Node.js 12 or later and NPM
2. Clone the repository
3. `npm install`
4. `pip install pre-commit`
5. `pre-commit install`
## Common operations
* `npm run build`: Build for development, no Docker image
* `npm start`: Start a local development server on `localhost:8080`
* `npm run production`: Build for production, no Docker image
* `npm run lint`: Perform ESLint checks
* `npm run lintfix`: Perform ESLint checks and try to automatically fix some issues
* `npm run test`: Run unit tests
* `npm run start-test`: Run unit tests, then watch for edits and re-run with each change
* `npm run test` or `npm t`: Run unit tests
* `make build`: Build to a local Docker image using latest GitLab CI artifact
* `make clean`: Clean build stuff
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment