이 Monorepo는 Dasch Service 플랫폼의 다양한 응용 프로그램 및 라이브러리를 호스팅합니다.
라이브러리를 설치하려면 npm install 실행합니다.
특정 라이브러리에 대한 자세한 내용은 ReadMe (예 : 예를 들어 참조하십시오.
DSC (Dasch Service Platform)는 인문학의 주요 리소스 및 데이터를 저장, 공유 및 작업하기위한 소프트웨어 프레임 워크입니다.
DSP-App은 백엔드에서 DSP-API 서버 애플리케이션을 사용하는 스위스 국립 데이터 및 서비스 센터 (DASCH)의 연구 데이터 저장소에 대한 간단한 사용자 인터페이스입니다. 예술과 인문학 자원의 주석과 연계를위한 시스템입니다.
DSP-App은 DSP-JS를 구현하여 DSP-API와 연결합니다.
DSP-App은 GNU Affero General Public License에 따라 출시 된 무료 소프트웨어입니다.
DSP-APPI를 시도하려면 DSP-API 백엔드를 먼저 시작해야합니다.
터미널에서 DSP-API 저장소에서 다음 명령을 실행하여 API를 시작합니다.
$ make init-db-test
$ make stack-without-app백엔드가 시작되고 실행되면 두 번째 터미널 인스턴스에서 실행을 통해 DSP-App을 시작합니다.
# come back to this repository and start the DSP-APP
$ npx nx run dsp-app:serveMonorepo는 NX를 사용하여 구현됩니다.
가장 일반적인 명령은 package.json 에 정의됩니다.
참고 :
npm install -g nx사용하여nx전 세계적으로 설치할 수 있습니다. 그렇지 않은 경우 아래의 모든nx명령은npx로 접두사를해야합니다.
| NX | NPM |
|---|---|
nx run dsp-app:test | npm run test-local |
nx run dsp-app:test:ci | npm run test-ci |
nx run-many --all --target=test --configuration=ci | npm run test-ci-all |
nx run dsp-app:serve | npm run start-local |
nx run dsp-app:serve:test-server | npm run start-test |
nx run dsp-app:serve:dev-server | npm run start-dev |
nx run dsp-app:serve:ls-test-server | npm run start-ls-test |
nx run dsp-app:serve:stage-server | npm run start-stage |
nx run dsp-app:serve:0845-test-server | npm run start-0845-test |
nx run dsp-app:lint | npm run lint-ci |
nx run dsp-app:lint --fix | npm run lint-local |
nx run dsp-app-e2e:e2e:development | npm run e2e-ci-dev |
nx run dsp-app-e2e:e2e:production | npm run e2e-ci |
nx run dsp-app:build | build |
nx run dsp-app:build:production | build-prod |
| NPX | NPM |
|---|---|
cd apps/dsp-app-e2e && npx cypress open | npm run e2e-local |
E2E 테스트를 실행하기위한 세 가지 NPM 스크립트가 있습니다.
npm run e2e-ci-dev 개발 환경에서 콘솔에서 E2E 테스트를 실행합니다.npm run e2e-ci 생산 환경에서 콘솔에서 E2E 테스트를 실행합니다. 이것은 Github CI에서도 실행되는 명령입니다.npm run e2e-local Cypress UI를 열면 개별 테스트를 쉽게 실행하고 모든 단계가 실행되는 모든 단계를 볼 수 있습니다. 최신 릴리스 버전의 경우
developers 개발자
당사와 함께 DSP-App의 개발에 기여하려면 일반 DSP 기부 지침을 따르십시오.
MKDocs와 함께 사용자 지침 및 개발자 문서를 구축했습니다. 자세한 내용은 특정 readme에서 찾을 수 있습니다.