From 7bdce37fd3f18e2712e18c4e2c64cac69af0aca1 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Sun, 19 Sep 2021 19:43:11 +0200 Subject: :boom: Introduce new UI based on svelte, and rewrite a lot of the node app and the NeoRuntime --- bin/build.sh | 12 ++++++++++++ bin/runDev.sh | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 bin/build.sh delete mode 100755 bin/runDev.sh (limited to 'bin') diff --git a/bin/build.sh b/bin/build.sh new file mode 100644 index 0000000..6c10225 --- /dev/null +++ b/bin/build.sh @@ -0,0 +1,12 @@ +echo "> Install node modules needed for build" +NODE_ENV="development" +npm i + +echo "> Make sure all python dependencies for build is installed" +pip3 install mkdocs mkdocs-gitbook pygments pymdown-extensions + +echo "> Compile es6 and sass to bundles" +npx webpack -p + +echo "> Generate html docs using sphinx" +mkdocs build diff --git a/bin/runDev.sh b/bin/runDev.sh deleted file mode 100755 index e0e70bc..0000000 --- a/bin/runDev.sh +++ /dev/null @@ -1,12 +0,0 @@ -printf "%s\n" "> webpack" -npx webpack - -printf "%s\n" "> node app.js" -if [ "$#" -gt "1" ]; then - node app.js $1 -else - mkdir -p tmp - mkdir -p tmp/userdata - mkdir -p tmp/logs - node app.js "$PWD/tmp/" -fi -- cgit v1.2.3