getting-started.md 2.0 KB


title: "Getting Started"

weight: 0

Getting Started

Requirements

  • Node.js v8.9.0 or above
  • If you want to use MySQL, MariaDB, or Postgres as your data store, then you'll need an instance available locally. However, if you are just testing out Vendure, we recommend using SQLite, which has no external requirements.

Installation with @vendure/create

The recommended way to get started with Vendure is by using the @vendure/create tool. This is a command-line tool which will scaffold and configure your new Vendure project and install all dependiencies.

{{% tab "npx" %}}

npx @vendure/create my-app

{{% alert primary %}} npx comes with npm 5.2+ and higher. {{% /alert %}} {{% /tab %}} {{% tab "npm init" %}}

npm init @vendure my-app

{{% alert primary %}} npm init <initializer> is available in npm 6+ {{% /alert %}} {{% /tab %}} {{% tab "yarn create" %}}

yarn create @vendure my-app

{{% alert primary %}} yarn create is available in Yarn 0.25+ {{% /alert %}} {{% /tab %}}

For other installation options see the @vendure/create documentation.

"my-app" in the above command would be replaced by whatever you'd like to name your new project. Vendure Create will guide you through the setup. When done, you can run:

cd my-app

yarn start
# or
npm run start

Assuming the default config settings, you can now access:

{{% alert primary %}} Log in with the superadmin credentials:

  • username: superadmin
  • password: superadmin {{% /alert %}}