Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[frontend] Fix missing executor constructor in the SQL Scratchpad exa…
…mple project
  • Loading branch information
JohanAhlen committed Mar 1, 2021
1 parent b25aa13 commit df69acc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
Expand Up @@ -24,7 +24,7 @@ export interface ExecutorRaw {
executables: ExecutableRaw[];
}

declare class Executor {
export default class Executor {
connector: KnockoutObservable<Connector>;
compute: KnockoutObservable<Compute>;
namespace: KnockoutObservable<Namespace>;
Expand Down
15 changes: 7 additions & 8 deletions tools/examples/components/sql-scratchpad/README.md
Expand Up @@ -13,14 +13,13 @@ We wrap the web components to be able to set certain attributes/properties on th

## To run this project

### In the Hue root folder:
1. `npm install`
2. `npm run webpack-npm`

### In this project folder:
3. `npm install`
4. `npm start`
5. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
1. Go to the Hue root folder `cd ../../../../`
2. `npm install`
3. `npm run webpack-npm`
4. Go to the example project `cd tools/examples/components/sql-scratchpad`
5. `npm install`
6. `npm start`
7. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

## Base project creation steps (for reference)

Expand Down

0 comments on commit df69acc

Please sign in to comment.