Skip to content

Commit

Permalink
Merge pull request #68 from crhistianramirez/fix-seeding
Browse files Browse the repository at this point in the history
Fix bug with seeding #61
  • Loading branch information
robertsoniv authored Mar 20, 2023
2 parents d56e3dd + 90c3686 commit 9b3617c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 62 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ In some cases it may be useful to have your own marketplace. Maybe you need to c
npm run seed -- -u=YOUR_PORTAL_USERNAME -p=YOUR_PORTAL_PASSWORD -n=YOUR_MARKETPLACE_NAME
```

Next, find the admin client ID and set it as NEXT_PUBLIC_OC_CLIENT_ID in your .env file.
Next, find the admin client ID and set it as NEXT_PUBLIC_OC_CLIENT_ID in your .env.local file.

Finally log in as `initialadminuser` with the password `Testingsetup123!`
Then, run the application by running `npm run dev`.

Finally, log in as `initialadminuser` with the password `Testingsetup123!`

### Unit Tests
This project uses [Jest](https://jestjs.io/) for unit testing. To write a unit test:
Expand Down
79 changes: 20 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"yup": "^0.32.11"
},
"devDependencies": {
"@ordercloud/seeding": "^1.0.31",
"@ordercloud/seeding": "^1.1.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/date-fns": "^2.6.0",
Expand Down

0 comments on commit 9b3617c

Please sign in to comment.