-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from IDX import to template (#21)
* Improve IDX support * Update README.md * Update idx-template.nix * Update dev.nix
- Loading branch information
Showing
5 changed files
with
49 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "Compass", | ||
"description": "AI Travel Planning app with Flutter", | ||
"categories": ["AI & ML", "Mobile"], | ||
"icon": "https://www.gstatic.com/monospace/231128/logo_gemini_512.png", | ||
"publisher": "Google LLC", | ||
"host": { | ||
"virtualization": "true" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ pkgs, ... }: { | ||
packages = [ | ||
pkgs.curl | ||
pkgs.unzip | ||
]; | ||
bootstrap = '' | ||
mkdir "$out" | ||
cp -rf ${./.}/* "$out" | ||
mkdir "$out/.idx" | ||
mkdir "$out/.vscode" | ||
mkdir "$out/.firebase" | ||
cp -rf ${./.}/.idx "$out" | ||
cp -rf ${./.}/.vscode "$out" | ||
cp -rf ${./.}/.firebase "$out" | ||
cp -rf ${./.}/.firebaserc "$out" | ||
cp -rf ${./.}/.gitignore "$out" | ||
cp -rf ${./.}/.gitattributes "$out" | ||
rm "$out/idx-template.nix" | ||
rm "$out/idx-template.json" | ||
curl -o local.zip 'https://firebasestorage.googleapis.com/v0/b/yt-rag.appspot.com/o/genkit%2Flocal.zip?alt=media&token=2f1d181d-9eda-4dc1-9ffc-e988f69c26f2' | ||
unzip local.zip -d "$out" | ||
chmod -R u+w "$out" | ||
''; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters