A landing page server for publically accessible DOI datasets in SciCat
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
- Angular 17
- Node 20
- SciCat Backend
- MongoDB
A step by step series of examples that tell you have to get a development env running
How to install:
npm install
set $env to one of the environment file e.g.
export env=development
npm run build
How to run:
npm start
Unit tests
npm test
e2e tests check content is rendered correctly
npm run e2e
Config can be set in one of the three ways, in decreasing order of precedence (see app-config.service):
- By returning an AppConfig with a backend
/config
endpoint - By serving the AppConfig stored as static asset in /assets/config.json, or
- By exporting it from a TypeScript file from environmets/environment.ts. The
environment.ts
file gets replaced based on build configuration passed tong build
(See angular.json).
While many settings in AppConfig are self-explanatory, the following optional settings pertain to optional features:
statusCode
: Can be set toINFO
,WARN
, orNONE
to show a status banner at the top of the page. The message can be set withstatusMessage
.contactEmail
: If set, a message with contact email will be shown in the footer of the page.
Deploy with Docker
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Gareth Murphy - Initial work - garethcmurphy
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- ESS, PSI