Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .changeset/stale-drinks-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'e2e-base-path': patch
'my-evidence-project': patch
'e2e-dev-server-startup': patch
'e2e': patch
'e2e-prerender': patch
'@evidence-dev/sdk': patch
'@evidence-dev/core-components': patch
'@evidence-dev/components': patch
---

Remove references to Evidence Cloud
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Business Intelligence as Code: Generate reports using SQL and markdown

<!-- Testing publishing flow -->

### [Docs](https://docs.evidence.dev) | [Examples](https://evidence.dev/examples) | [Cloud](https://evidence.dev/cloud) | [Slack](https://slack.evidence.dev)
### [Docs](https://docs.evidence.dev) | [Examples](https://evidence.dev/examples) | [Slack](https://slack.evidence.dev)

![GitHub Repo stars](https://img.shields.io/github/stars/evidence-dev/evidence?style=social)
![NPM](https://img.shields.io/npm/l/%40evidence-dev%2Fevidence)
Expand Down Expand Up @@ -45,7 +45,6 @@ See docs for [other install options](https://docs.evidence.dev/getting-started/i

# Publish

- [Evidence Cloud](https://evidence.dev/cloud) is the easiest way to securely host your app. It's free to get started.
- [Self-hosted](https://docs.evidence.dev/deployment/overview/#self-host) options include Netlify, Vercel, your own infra, and other static site hosting platforms.

# Join the Evidence Community
Expand Down
2 changes: 1 addition & 1 deletion e2e/base-path/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ This page can be found in your project at `/pages/index.md`. Make a change to th

- [Connect your data sources](settings)
- Edit/add markdown files in the `pages` folder
- Deploy your project with [Evidence Cloud](https://evidence.dev/cloud)
- Deploy your project with a static site hosting platform

## Get Support

Expand Down
2 changes: 1 addition & 1 deletion e2e/basic/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The top category is {orders_by_category[0].category}

- [Connect your data sources](settings)
- Edit/add markdown files in the `pages` folder
- Deploy your project with [Evidence Cloud](https://evidence.dev/cloud)
- Deploy your project with a static site hosting platform

## Get Support

Expand Down
2 changes: 1 addition & 1 deletion e2e/dev-server-startup/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This page can be found in your project at `/pages/index.md`. Make a change to th

- [Connect your data sources](settings)
- Edit/add markdown files in the `pages` folder
- Deploy your project with [Evidence Cloud](https://evidence.dev/cloud)
- Deploy your project with a static site hosting platform

## Get Support

Expand Down
2 changes: 1 addition & 1 deletion e2e/packaging/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ This page can be found in your project at `/pages/index.md`. Make a change to th

- [Connect your data sources](settings)
- Edit/add markdown files in the `pages` folder
- Deploy your project with [Evidence Cloud](https://evidence.dev/cloud)
- Deploy your project with a static site hosting platform

## Get Support

Expand Down
2 changes: 1 addition & 1 deletion e2e/prerender/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ This page can be found in your project at `/pages/index.md`. Make a change to th

- [Connect your data sources](settings)
- Edit/add markdown files in the `pages` folder
- Deploy your project with [Evidence Cloud](https://evidence.dev/cloud)
- Deploy your project with a static site hosting platform

## Get Support

Expand Down
4 changes: 2 additions & 2 deletions packages/lib/sdk/src/lib/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export const isDebug = () => {
if (typeof process !== 'undefined')
return Boolean(
process.env.EVIDENCE_DEBUG ||
process.env.VITE_PUBLIC_EVIDENCE_DEBUG ||
(process.env.NODE_ENV === 'test' && !process.env.EVIDENCE_DISABLE_TEST_DEBUG)
process.env.VITE_PUBLIC_EVIDENCE_DEBUG ||
(process.env.NODE_ENV === 'test' && !process.env.EVIDENCE_DISABLE_TEST_DEBUG)
);
if (typeof import.meta.env !== 'undefined')
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,100 +2,13 @@
// @ts-check
/** @typedef {import('@evidence-dev/sdk/plugins').DatasourceSpec} DatasourceSpec */

import CopyEnvironmentVariables from './CopyEnvironmentVariables.svelte';
import EnvironmentVarListing from './EnvironmentVarListing.svelte';
/** @type {DatasourceSpec[]} */
export let sources;
</script>

<section class="w-full pt-2 pb-10">
<div class="pb-4">
<h3 class="text-base-content text-lg font-semibold mt-0 mb-5">Evidence Cloud</h3>
<!-- <ul>
<li>Host your project at <code>{'<'}project-name{'>'}.evidence.app</code></li>
<li>Authenticate users</li>
<li>Schedule updates to your data</li>
<li>Re-build when you push changes to your project</li>
</ul> -->
<div class="flex gap-4 items-center">
<div
class="flex items-center justify-center text-base-content font-bold border border-base-300 w-8 h-8 rounded-full shadow-sm tabular-nums"
>
1
</div>
<h4 class="font-bold text-base-content">Check your project into version control</h4>
</div>
<div class="pl-8 ml-[calc(1rem-0.5px)] pt-1 pb-10 border-l border-base-200">
<p>
Evidence Cloud deploys your project from its Github repository. As you make changes to your
project and commit them to main, Evidence cloud will update your deployed project.
</p>
</div>
<div class="flex gap-4 items-center">
<div
class="flex items-center justify-center text-base-content font-bold border border-base-300 w-8 h-8 rounded-full shadow-sm tabular-nums"
>
2
</div>
<h4 class="font-bold text-base-content">Sign in to Evidence Cloud</h4>
</div>
<div class="pl-8 ml-[calc(1rem-0.5px)] pt-1 pb-10 border-l border-base-200">
<p>
Sign into Evidence Cloud using your GitHub account and add a new project. Follow the steps
to connect to your Github repository.
</p>
<a
href="https://evidence.app"
target="_blank"
class="inline-flex items-center justify-center rounded-md font-medium whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-base-300 disabled:pointer-events-none disabled:opacity-50 mt-4 w-full h-10 px-10 text-sm w-full bg-base-content text-base-100 shadow-sm hover:bg-base-content/90 active:bg-base-content/80"
>Sign In</a
>
</div>
<div class="flex gap-4 items-center">
<div
class="flex items-center justify-center text-base-content font-bold border border-base-300 w-8 h-8 rounded-full shadow-sm tabular-nums"
>
3
</div>

<h4 class="font-bold text-base-content">Set your Project Environment Variables</h4>
</div>
<div class="pl-8 ml-[calc(1rem-0.5px)] pt-1 pb-10 border-l border-base-200">
<p>
While you are setting up your cloud project, you'll be prompted for your environment
variables to connect Evidence cloud to your sources. Copy them here.
</p>
<CopyEnvironmentVariables {sources} />
<div class="mt-4">
<p class="text-base-content-muted">
To use different connection settings your other deployment environment,
<a
class=" underline underline-offset-2"
href="https://docs.evidence.dev/deployment/environments"
target="_blank"
>
set different environment variable values in cloud
</a>
.
</p>
</div>
</div>
<div class="flex gap-4 items-center">
<div
class="flex items-center justify-center text-base-content font-bold border border-base-300 w-8 h-8 rounded-full shadow-sm tabular-nums"
>
4
</div>

<h4 class="font-bold text-base-content">Done</h4>
</div>
<div class="pl-8 ml-[calc(1rem-0.5px)] pt-1 pb-4 border-l border-base-200">
<p>
When you make changes to your project locally, push them to main, and Evidence cloud will
update your deployed project.
</p>
</div>
<h3 class="text-base-content text-lg font-semibold mt-0 mb-4 mt-8">Other Environments</h3>
<p class="text-base-content mb-4 text-pretty">
Documentation on deploying Evidence projects to a variety of cloud environments is available <a
href="https://docs.evidence.dev/deployment/overview/"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<p>In production, Evidence functions like a static site generator:</p>
<ol>
<li>
Running <code>npm run build</code> will build a static site in the <code>/build</code> directory
using the credentials in the datasource connections panel, which you can host in a variety of environments
Running <code>npm run build</code> will build a static site in the <code>/build</code> directory using
the credentials in the datasource connections panel, which you can host in a variety of environments
</li>
</ol>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ export { default as CopyIcon } from './CopyIcon.svelte';
export { default as CopySuccessIcon } from './CopySuccessIcon.svelte';
export { default as DeploySettingsPanel } from './DeploySettingsPanel.svelte';
export { default as EnvironmentVarListing } from './EnvironmentVarListing.svelte';
export { default as EvidenceDeploy } from './EvidenceDeploy.svelte';
export { default as NetlifyDeploy } from './NetlifyDeploy.svelte';
export { default as OtherDeploy } from './OtherDeploy.svelte';
export { default as VariableCopy } from './VariableCopy.svelte';
Expand Down
Loading