Skip to content

Commit 53b4c42

Browse files
Merge branch 'main' into release
2 parents 4a0b795 + 0582a86 commit 53b4c42

5 files changed

Lines changed: 36 additions & 5 deletions

File tree

.devcontainer/onCreate.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,15 @@ rm -rf ./spark-sdk-dist
6161
cd /workspaces/spark-tools
6262
npm i
6363
cd /workspaces/spark-template
64-
npm i -f /workspaces/spark-tools
64+
npm i -f /workspaces/spark-tools
65+
66+
67+
68+
echo "Installing azcopy"
69+
70+
sudo wget -O /usr/local/bin/azcopytar https://aka.ms/downloadazcopy-v10-linux
71+
sudo tar -xvf /usr/local/bin/azcopytar -C /usr/local/bin/
72+
sudo rm /usr/local/bin/azcopytar
73+
azcopy_dir=$(find /usr/local/bin/ -type d -name "azcopy*" | head -n 1)
74+
sudo mv "$azcopy_dir/azcopy" /usr/local/bin/azcopy
75+
sudo rm -rf "$azcopy_dir"

.github/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish Release
2+
3+
on:
4+
release:
5+
types: [created]
6+
workflow_dispatch:
7+
8+
jobs:
9+
build-and-publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: '20'
19+
registry-url: 'https://registry.npmjs.org'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Soark Template
1+
# Spark Template
22
A template for Spark
33

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"tailwind-merge": "^3.0.2",
6969
"three": "^0.175.0",
7070
"tw-animate-css": "^1.2.4",
71+
"uuid": "^11.1.0",
7172
"vaul": "^1.1.2",
7273
"zod": "^3.24.2"
7374
},

vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default defineConfig({
4141
define: {
4242
// ensure that you give these types in `src/vite-end.d.ts`
4343
GITHUB_RUNTIME_PERMANENT_NAME: JSON.stringify(GITHUB_RUNTIME_PERMANENT_NAME),
44-
BASE_KV_SERVICE_URL: JSON.stringify("/kv"),
44+
BASE_KV_SERVICE_URL: JSON.stringify("/_spark/kv"),
4545
},
4646
server: {
4747
port: 5000,
@@ -71,11 +71,11 @@ export default defineConfig({
7171
// Any new endpoints defined in the backend server need to be added here
7272
// as vite serves the frontend during local development and in the live preview,
7373
// and needs to know to proxy the endpoints to the backend server.
74-
"/kv": {
74+
"/_spark/kv": {
7575
target: "http://localhost:8000",
7676
changeOrigin: true,
7777
},
78-
"/llm": {
78+
"/_spark/llm": {
7979
target: "http://localhost:8000",
8080
changeOrigin: true,
8181
},

0 commit comments

Comments
 (0)