このモノレポには、ダッシュサービスプラットフォームのさまざまなアプリケーションとライブラリがホストされています。
ライブラリをインストールするには、 npm installを実行するだけです。
特定のライブラリの詳細については、そのreadme(例)にアクセスしてください。
DSP(Dasch Service Platform)は、人文科学の主要なリソースとデータを保存、共有、および操作するためのソフトウェアフレームワークです。
DSP-Appは、バックエンドでDSP-APIサーバーアプリケーションを使用するスイス国立データおよびサービスセンター(DASCH)の研究データリポジトリのシンプルなユーザーインターフェイスです。これは、芸術と人文科学のリソースの注釈と連携のためのシステムです。
DSP-AppはDSP-JSを実装して、DSP-APIに接続します。
DSP-Appは、GNU Affero General Public Licenseでリリースされたフリーソフトウェアです。
DSP-Appを試すには、DSP-APIバックエンドを最初に開始する必要があります。
ターミナルFOからDSP-APIリポジトリで、次のコマンドを実行してAPIを開始します。
$ make init-db-test
$ make stack-without-appバックエンドが稼働したら、2番目の端末インスタンスで実行してDSP-Appを開始します。
# come back to this repository and start the DSP-APP
$ npx nx run dsp-app:serveモノレポは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テストを実行する3つのNPMスクリプトがあります。
npm run e2e-ci-dev開発環境でコンソールでE2Eテストを実行します。npm run e2e-ci生産環境でコンソールでE2Eテストを実行します。これは、GitHub CIでもコマンド実行です。npm run e2e-local個々のテストを簡単に実行し、実行中にすべてのステップを確認できるサイプレスUIを開きます。 rabt最新リリースバージョン用
develop開発者向け
DSP-Appの開発に貢献したい場合は、一般的なDSP貢献ガイドラインに従ってください。
MKDOCSを使用して、ユーザーガイドラインと開発者ドキュメントを作成しました。詳細については、特定のREADMEをご覧ください。