File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,4 +61,15 @@ rm -rf ./spark-sdk-dist
6161cd /workspaces/spark-tools
6262npm i
6363cd /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 "
Original file line number Diff line number Diff line change 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'
Original file line number Diff line number Diff line change 1- # Soark Template
1+ # Spark Template
22A template for Spark
33
Original file line number Diff line number Diff line change 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 },
Original file line number Diff line number Diff 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 } ,
You can’t perform that action at this time.
0 commit comments