-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from klauer/enh_typescript_offline
REF/ENH: typescript + Python-less frontend
- Loading branch information
Showing
64 changed files
with
7,156 additions
and
2,788 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
.git_archival.txt export-subst | ||
# bash scripts cannot have CRLF on Windows: | ||
*.sh eol=lf | ||
*.cmd eol=lf |
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
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 |
---|---|---|
@@ -1,11 +1,16 @@ | ||
#!/bin/sh | ||
# | ||
WHATRECORD_FRONTEND_PORT=${WHATRECORD_FRONTEND_PORT-8896} | ||
WHATRECORD_FRONTEND_MODE=${WHATRECORD_FRONTEND_MODE-development} | ||
|
||
echo "* Installing frontend dependencies..." | ||
yarn install | ||
echo "* Monitoring frontend files in the background to rebuild automatically when they update." | ||
echo "* Note: it may take a few seconds before the pages are ready to be served" | ||
yarn build --watch & | ||
echo "* Running the development server on port ${WHATRECORD_FRONTEND_PORT}." | ||
yarn serve --port "${WHATRECORD_FRONTEND_PORT}" --host --strictPort # --debug --logLevel debug | ||
yarn build | ||
|
||
if [ $WHATRECORD_FRONTEND_MODE == "development" ]; then | ||
echo "* Running the development server on port ${WHATRECORD_FRONTEND_PORT}." | ||
yarn dev --port "${WHATRECORD_FRONTEND_PORT}" --host --mode="${WHATRECORD_FRONTEND_MODE}" | ||
else | ||
yarn build --mode="${WHATRECORD_FRONTEND_MODE}" | ||
yarn serve --port "${WHATRECORD_FRONTEND_PORT}" --host --strictPort --mode="${WHATRECORD_FRONTEND_MODE}" | ||
fi |
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
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
Oops, something went wrong.