Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/archiewood/website-inside-duckdb
https://github.com/archiewood/website-inside-duckdb
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/archiewood/website-inside-duckdb
- Owner: archiewood
- Created: 2024-07-17T16:13:48.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T16:18:04.000Z (4 months ago)
- Last Synced: 2024-07-17T20:07:12.571Z (4 months ago)
- Language: Svelte
- Size: 609 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Website inside DuckDB?
The HTML is all stored in a DuckDB database, see `sources/website/website.sql`.
It is then rendered inside `pages/index.md`.
## Using Codespaces
If you are using this template in Codespaces, click the `Start Evidence` button in the bottom status bar. This will install dependencies and open a preview of your project in your browser - you should get a popup prompting you to open in browser.
Or you can use the following commands to get started:
```bash
npm install
npm run sources
npm run dev -- --host 0.0.0.0
```See [the CLI docs](https://docs.evidence.dev/cli/) 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.
## Get Started from VS Code
The easiest way to get started is using the [VS Code Extension](https://marketplace.visualstudio.com/items?itemName=evidence-dev.evidence):
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
```bash
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](https://docs.evidence.dev/getting-started/install-evidence) including Docker, Github Codespaces, and alongside dbt.
## Learning More
- [Docs](https://docs.evidence.dev/)
- [Github](https://github.com/evidence-dev/evidence)
- [Slack Community](https://slack.evidence.dev/)
- [Evidence Home Page](https://www.evidence.dev)