From 4365ae8b51b8a619dffe925c27dcc346463a6bbf Mon Sep 17 00:00:00 2001 From: Stelios Vitalis Date: Tue, 18 Jun 2024 02:08:48 +0200 Subject: [PATCH] Remove deploy.sh and update README --- README.md | 16 +++++----------- deploy.sh | 21 --------------------- 2 files changed, 5 insertions(+), 32 deletions(-) delete mode 100755 deploy.sh diff --git a/README.md b/README.md index a0bc3ab..d4b0509 100644 --- a/README.md +++ b/README.md @@ -14,35 +14,29 @@ You can run `ninja` without installation by visiting [ninja.cityjson.org](https: ## Installation -Initialize the [cityjson-vue-components](https://github.com/cityjson/cityjson-vue-components) git submodule: -``` -git submodule init -git submodule update -``` - Install all dependencies: ``` -yarn install +npm install ``` ### Compile and run for development ``` -yarn run dev +npm start ``` -You can visit the local version at: [http://localhost:9080/dist/index.html](http://localhost:9080/dist/index.html). +You can visit the local version at: [http://localhost:1234/](http://localhost:1234). ### Compile and run for production ``` -yarn run build +npm run build ``` # Dependencies -*ninja* uses [cityjson-vue-components](https://github.com/cityjson/cityjson-vue-components) and [cityjson-threejs-loader](https://github.com/cityjson/cityjson-threejs-loader) to handle things. +*ninja* uses [cityjson-threejs-loader](https://github.com/cityjson/cityjson-threejs-loader) to handle things. Other frameworks used: - [three.js](https://threejs.org/) diff --git a/deploy.sh b/deploy.sh deleted file mode 100755 index 9c761fd..0000000 --- a/deploy.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env sh - -# abort on errors -set -e - -# build -yarn run build - -# navigate into the build output directory -cd dist - -echo "ninja.cityjson.org" > CNAME - -git init -git add -A -git commit -m 'deploy' - -# if you are deploying to https://.github.io/ -git push -f git@github.com-personal:cityjson/ninja.git main:gh-pages - -cd -