Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
/ elabdoc Public archive

Commit 9102882

Browse files
committed
add cypress run doc
1 parent 81a3cbe commit 9102882

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/contributing.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,3 +488,20 @@ It is a good idea to use a pre-commit hook to run linters before the commit is a
488488
fi
489489
490490
Now when you commit it should run this script and prevent the commit if there are errors.
491+
492+
Running cypress locally
493+
=======================
494+
495+
In docker: `yarn run cy` (where `yarn` is the local command, not the one in container, because this starts docker images)
496+
497+
Locally: current workaround:
498+
499+
.. code-block:: bash
500+
501+
cd /tmp
502+
git clone -b hypernext https://github.com/elabftw/elabftw
503+
cd elabftw
504+
npm i cypress
505+
./node_modules/.bin/cypress open
506+
507+
Not great, not terrible.

0 commit comments

Comments
 (0)