diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..a405ed0b8 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "rawgraphs-charts"] + path = rawgraphs-charts + url = https://github.com/zimmerman-team/rawgraphs-charts.git diff --git a/rawgraphs-charts b/rawgraphs-charts new file mode 160000 index 000000000..4fb9ebeb8 --- /dev/null +++ b/rawgraphs-charts @@ -0,0 +1 @@ +Subproject commit 4fb9ebeb8b0115ba1f7bbd7a42defe56a359cb17 diff --git a/scripts/setup-codespace.sh b/scripts/setup-codespace.sh new file mode 100644 index 000000000..5651151cc --- /dev/null +++ b/scripts/setup-codespace.sh @@ -0,0 +1,16 @@ + +# setup @rawgraphs/rawgraphs-charts submodule +git submodule init +git submodule update +cd rawgraphs-charts +yarn install +yarn build +yarn link +cd .. + +# install dependencies +yarn link "@rawgraphs/rawgraphs-charts" +yarn install + +# run the app +yarn start \ No newline at end of file