Skip to content

evidence-dev/ecommerce-demo

Repository files navigation

Evidence Template Project

Welcome to Evidence. Use this project template to get started.

Get Started from VS Code

The easiest way to get started is using the VS Code Extension, which copies this template.

  1. Install the extension from the VS Code Marketplace
  2. Open the Command Palette (Ctrl/Cmd + Shift + P) and enter Evidence: New Evidence Project
  3. Click Start Evidence in the bottom status bar

Get Started using the CLI

npx degit evidence-dev/template my-project
cd my-project 
npm install 
npm run sources
npm run dev 

Check out the docs for alternative install methods including Docker, Github Codespaces, and alongside dbt.

Codespaces

If you are using this template in Codespaces, click the Start Evidence button in the bottom status bar.

Alternatively, use the following commands to get started:

npm install
npm run sources
npm run dev -- --host 0.0.0.0

See the CLI docs for more command information.

Note: Codespaces is much faster on the Desktop app. After the Codespace has booted, select the hamburger menu → Open in VS Code Desktop.

Connection Issues

If you see ✗ orders_by_month Missing database credentials, you need to add the connection to the demo database:

  1. Open the settings menu at localhost:3000/settings
  2. select DuckDB
  3. enter needful_things
  4. select .duckdb and save

Learning More