The HIP is a platform for processing and sharing Human intracerebral EEG data More...
This component is part of the HIP infrastructure frontend and runs as a Nextcloud App. It also communicate directly with the Gateway API to the backend service for remote apps is the App in Browser
You will need Docker, docker-compose, nodejs and npm installed on your machine
- Clone the Frontend.
- Copy .env.template to .env and edit the variables according to your needs.
- run
make deploy.dev
https://dev.to/leejianhowe/how-to-setup-eslint-for-react-typescript-projects-7ji Prettier Setup https://prettier.io/docs/en/install.html
On the master branch, npm run publish will produce a Nextcloud app, compiling all assets, css, images and JS code into a static folder and create a templates/index.php which refers to the build.
The package can then be deployed as a NextCloud app by moving the hip folder inside nextcloud/apps/hip
make deployon the frontend package will also create the production version, based on React production assets.
Matomo is used to gather some metrics about events and page views.
trackEvent({ category: 'server', action: 'view' || 'stop' || 'start' || 'resume' || 'pause' })
trackEvent({ category: 'app', action: 'stop' || 'start' })
trackEvent({ category: 'bids', action: 'import', })
trackPageView { documentTitle: route }
This project has received funding from the European Union's Horizon Europe research and innovation program under grant agreement No 101147319 and from the Swiss State Secretariat for Education, Research and Innovation (SERI) under contract number 23.00638, as part of the Horizon Europe project “EBRAINS 2.0”.
This research was supported by the EBRAINS research infrastructure, funded from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3).