Michael Bromley 4fdc8aa6ea feat(create): Use dotenv to handle env vars 3 years ago
..
.env.hbs 4fdc8aa6ea feat(create): Use dotenv to handle env vars 3 years ago
environment.d.hbs 4fdc8aa6ea feat(create): Use dotenv to handle env vars 3 years ago
gitignore.template 3a7de838e8 chore(create): Add `dist` to gitignore 6 years ago
index-worker.hbs 73b4671388 feat(create): Simplify create steps - remove JS option 3 years ago
index.hbs 73b4671388 feat(create): Simplify create steps - remove JS option 3 years ago
migration.hbs 73b4671388 feat(create): Simplify create steps - remove JS option 3 years ago
readme.hbs 73b4671388 feat(create): Simplify create steps - remove JS option 3 years ago
tsconfig.template.json 4fdc8aa6ea feat(create): Use dotenv to handle env vars 3 years ago
vendure-config.hbs 4fdc8aa6ea feat(create): Use dotenv to handle env vars 3 years ago

readme.hbs

# {{ name }}

This project was generated with [`@vendure/create`](https://github.com/vendure-ecommerce/vendure/tree/master/packages/create).

## Directory structure

* `/src` contains the source code of your Vendure server. All your custom code and plugins should reside here.
* `/static` contains static (non-code) files such as assets (e.g. uploaded images) and email templates.

## Development

```
yarn start
# or
npm run start
```

will start the Vendure server and [worker](https://www.vendure.io/docs/developer-guide/vendure-worker/) processes from
the `src` directory.

## Build

```
yarn build
# or
npm run build
```

will compile the TypeScript sources into the `/dist` directory.

## Migrations

[Migrations](https://www.vendure.io/docs/developer-guide/migrations/) allow safe updates to the database schema.

The following npm scripts can be used to generate migrations:

```
yarn migration:generate [name]
# or
npm run migration:generate [name]
```

run any pending migrations that have been generated:

```
yarn migration:run
# or
npm run migration:run
```

and revert the most recently-applied migration:

```
yarn migration:revert
# or
npm run migration:revert
```