Skip to content

Commit

Permalink
Fix Windows OS installation of Example Project (#1411)
Browse files Browse the repository at this point in the history
*  fix for Windows Machine on Powershell
* update `Tab` install instructions
  • Loading branch information
Winterhart authored Dec 22, 2023
1 parent 33003f9 commit 40b7d8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sites/example-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"dev": "vite dev --port 3000",
"build": "vite build",
"sources": "__EXAMPLE_PROJECT=true evidence sources",
"sources": "cross-env __EXAMPLE_PROJECT=true evidence sources",
"preview": "vite preview --port 3000"
},
"type": "module",
Expand Down
4 changes: 3 additions & 1 deletion sites/example-project/src/pages/ui-components/tabs/+page.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Open a terminal and run:
```shell
npx degit evidence-dev/template my-project
cd my-project
npm run sources
npm install
npm run dev
```
Expand All @@ -84,6 +85,7 @@ If you already have a dbt project, you can install Evidence alongside it.
cd path/to/your/dbt/project
npx degit evidence-dev/template reports
npm --prefix ./reports install
npm --prefix ./reports run sources
npm --prefix ./reports run dev
```

Expand Down Expand Up @@ -160,4 +162,4 @@ df %>% pivot_longer(cols = starts_with("col"), names_to = "key", values_to = "va
```

</Tab>
</Tabs>
</Tabs>

0 comments on commit 40b7d8f

Please sign in to comment.