Skip to content

Commit c80f93a

Browse files
Instructions to run locally
1 parent 52a177b commit c80f93a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

built-in-ai/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@ To make changes to the playground source code, clone this repository and follow
2121
* To make changes to the JavaScript or CSS code for the playgrounds:
2222

2323
Make your changes directly to the JavaScript or CSS files in the `static` directory.
24+
25+
To run the playground locally, run `npm run build` to generate the static site, and then run a local server from the Demos repository's parent directory, and then navigate to `http://localhost:8080/Demos/built-in-ai/` in your browser.

built-in-ai/eleventy.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ export default async function(eleventyConfig) {
22
return {
33
dir: {
44
"input": "templates",
5-
"output": "playgrounds",
6-
},
7-
pathPrefix: "/Demos/build-in-ai/"
5+
"output": "playgrounds"
6+
}
87
}
98
};

built-in-ai/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"@11ty/eleventy": "^3.0.0"
77
},
88
"scripts": {
9-
"build": "npx @11ty/eleventy",
10-
"serve": "npx @11ty/eleventy --serve"
9+
"build": "npx @11ty/eleventy"
1110
}
1211
}

0 commit comments

Comments
 (0)