Skip to content

Commit

Permalink
Merge pull request #916 from numerique-gouv/douglasduteil/docs-README…
Browse files Browse the repository at this point in the history
…-add-internal-dependencies-build-script

docs(README): add internal dependencies build script
  • Loading branch information
rdubigny authored Jan 8, 2025
2 parents 001aecf + b83588a commit bb494f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb494f8

Please sign in to comment.