|
|
6 years ago | |
|---|---|---|
| .. | ||
| .gitignore | 6 years ago | |
| README.md | 6 years ago | |
| dev-config.ts | 6 years ago | |
| index.ts | 6 years ago | |
| nodemon-debug.json | 6 years ago | |
| package.json | 6 years ago | |
| populate-dev-server.ts | 6 years ago | |
| tsconfig.json | 6 years ago | |
| yarn.lock | 6 years ago | |
This package is not published to npm. It is used in development of the Vendure server and plugins.
To run the server, run the start script. The database configuration can be specified by the --db=<type> flag:
yarn start --db=mysql
yarn start --db=postgres
yarn start --db=sqlite
The default if no db is specified is mysql.
Test data can be populated by running the populate script. This uses the same sample data as is used by the Vendure CLI when running init, albeit with the additional step of populating some sample customer & address data too.
Specify the database as above to populate that database:
yarn populate --db=sqlite