This is the codebase for the LostMa ERC project's static website.
Our website's codebase is publicly available in order to promote all aspects of open science, including the accessible distribution of research goals, methodologies, and outputs to the larger public.
Under the Creative Commons' ShareAlike, this repository also serves the open-source developpers' community as another example of how to build and generate a static website using NextJS and GitHub Actions.
https://lostma-erc.github.io/ → deployment
Sorry, but we are not open to patches or other commits for this web application. Contributions are only welcome from project members who need to update the website's contents. However, if you observe a component or section of a page where we can make the HTML or CSS more inclusive and suitable for Screen Readers, please open an issue.
For project members, please see further documentation here.
This application requires Node.js, a JavaScript runtime environment, as well as NPM, Node's Package Manager. The latter handles the installation of all the other libraries on which the web application depends, and which are listed in the package.json file.
- Check that you have Node.js, version 20 or greater. If you don't have a good version, install
nodeglobally on your computer.
$ node --version- Check that you have Node's Package Manager
npm, version 10 or greater. If you don't have a good version, installnpmglobally on your computer.
$ npm --version- To install this web application, download the code onto your computer.
$ git clone [email protected]:LostMa-ERC/lostma-erc.github.io.git- Change into the root of the repository, where this README file is, and run
npm ci, which stands for "clean installation."
$ cd lostma-erc.github.io
$ npm ci- Test your installation.
$ npm run testIf successful, you can exit the testing environment by entering the letter q, meaning quit.
PASS Waiting for file changes...
press h to show help, press q to quitThis web application's primary use is to the project members of the LostMa research team, who will need to periodically update the website's contents. Documentation will focus on this user base.
To simply run the website locally, go to the root of the project and start the development server with npm run dev. Then open http://localhost:3000 and begin navigating.
$ npm run dev
> [email protected] dev
> next dev
▲ Next.js 15.1.6
- Local: http://localhost:3000
- Network: http://192.168.1.78:3000
- Environments: .env
✓ Starting...
✓ Ready in 1325ms
- Kelly Christensen: development, documentation, CI/CD workflows, content
- Virgile Reignier: development, CI/CD workflows, content
- Jean-Baptiste Camps: project leader, content
- Théo Moins: LostMa logo, content
The development of this application was funded by the European Research Council. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council. Neither the European Union nor the granting authority can be held responsible for them.