diff --git a/cypress/README.md b/cypress/README.md index 3458e400..c6e4e25a 100644 --- a/cypress/README.md +++ b/cypress/README.md @@ -19,7 +19,7 @@ FEATURE_SEND_MAIL=True Note that this will delete your database. Load the specific fixtures in the database: ```bash -ENABLE_DATABASE_DELETION=True npm run delete-database ; npx run-s "migrate up" "fixtures:load-ci cypress/e2e/redirect_after_session_expiration/fixtures.sql" "update-organization-info 2000" +ENABLE_DATABASE_DELETION=True npm run delete-database ; npx run-s "build:workspaces" "migrate up" "fixtures:load-ci cypress/e2e/redirect_after_session_expiration/fixtures.sql" "update-organization-info 2000" ``` ### Start ProConnect Identité with the test configuration diff --git a/installation.md b/installation.md index b42926a1..49844965 100644 --- a/installation.md +++ b/installation.md @@ -42,7 +42,13 @@ This guide provides steps to run the ProConnect Identité Node.js application lo Then fill your `.env` file with them. -4. **Database Initialization**: The database will be automatically initialized with data from `scripts/fixtures.sql`. +4. **Build internal dependencies**: Build the internal dependencies located in the `packages` directory. + + ```bash + npm run build:workspaces + ``` + +5. **Database Initialization**: The database will be automatically initialized with data from `scripts/fixtures.sql`. ```bash npm run fixtures:load