Skip to content

Commit 2d63427

Browse files
authored
Merge pull request #5727 from HSLdevcom/remove-win-scripts
Remove windows scripts and docs because they are not used and unmaintained
2 parents 26a0818 + 60f0a67 commit 2d63427

6 files changed

Lines changed: 0 additions & 23 deletions

File tree

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
LICENSE*
88
Changelog.md
9-
win-launch-scripts/
109
docs/
1110
/test
1211

docs/Docker.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ You can run Digitransit-ui in docker. This is probably the easiest way to see th
33

44
## Prerequisites
55
- Docker 1.9
6-
- On Mac and Windows use [Docker toolbox](https://www.docker.com/docker-toolbox)
76

87
## Run latest national white label version for testing
98
- `docker run -p 8080:8080 hsldevcom/digitransit-ui`
@@ -20,9 +19,6 @@ On Mac:
2019
- see IP of `DOCKER_HOST`
2120
- open `http://[DOCKER_HOST]:8080`
2221

23-
On Windows:
24-
- open `http://localhost:8080`
25-
2622
## Running in production
2723
You must use following additional variables:
2824
- `-e CONFIG=<..>`

docs/Installation.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ You need [Node](https://nodejs.org/), [Yarn](https://yarnpkg.com) (or npm) and w
1212
You also need a C compiler:
1313
- Linux: GCC 4.6 or later
1414
- OS X: Xcode 5.0 or later
15-
- Windows: for example MSVC 2013 Express
1615

1716
### WSL
1817
To use Windows Subsystem for Linux in digitransit-ui development you may need to do at least the following
@@ -53,16 +52,12 @@ or in some systems to build the binaries from code following
5352
## Start development version
5453

5554
- OSX / Linux: `yarn run dev`
56-
- Windows: `npm run dev-win-national`
5755
- open: http://localhost:8080
5856

5957
## Start production version
6058
- First run: `yarn run build`, then run: `yarn run start`
6159
- open: http://localhost:8080
6260

63-
Note: on Windows, add "win-" prefix to the run commands above. For example: `npm run win-build`.
64-
The same applies to other npm run commands below.
65-
6661
## Modifying sub-modules and components
6762

6863
After you have changed the files in `digitransit-components` you have to re-run `yarn setup` to build those modules

package.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,9 @@
1616
"postinstall": "yarn run node14-patch",
1717
"setup": "yarn install && yarn build-workspaces",
1818
"static": "mkdir -p _static/js; mkdir -p _static/css; cp -r static/* _static",
19-
"win-static": "xcopy static\\* _static /e /s /y /i& if not exist _static\\js mkdir _static\\js& if not exist _static\\css mkdir _static\\css",
2019
"prebuild": "yarn run static && yarn run relay",
2120
"predev": "yarn run static",
22-
"predev-win-hsl": "yarn run win-static",
23-
"predev-win-national": "yarn run win-static",
2421
"dev": "bash -c \"trap 'pkill -QUIT -P $$ > /dev/null' EXIT; yarn run predev && yarn run relay-watch & NODE_ENV=development yarn nodemon -e js,css,scss,html --watch ./server/ --watch ./app/ server/server.js & NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=development yarn webpack-dev-server & yarn digitransit-watch-components\"",
25-
"dev-win-hsl": "yarn predev-win-hsl && cd win-launch-scripts&& hsl-win-launch-script.bat",
26-
"dev-win-national": "yarn predev-win-hsl && cd win-launch-scripts&& set CONFIG=&& national-win-launch-script.bat",
2722
"dev-nowatch": "bash -c 'NODE_ENV=development node server/server.js & NODE_ENV=development webpack-dev-server'",
2823
"test-accessibility": "./test/accessibility.sh",
2924
"test-unit": "yarn test-unit:components && yarn test-unit:store && yarn test-unit:app",
@@ -42,10 +37,8 @@
4237
"stylelint": "stylelint sass/**/*.scss app/**/*.scss digitransit-component/**/*.scss",
4338
"build": "NODE_OPTIONS=--openssl-legacy-provider && NODE_ENV=production && yarn prebuild && node --max_old_space_size=4096 node_modules/.bin/webpack --progress --color",
4439
"build-workspaces": "yarn build-components && yarn build-search-utils && yarn build-store",
45-
"win-build": "set NODE_ENV=production&& webpack --progress --color",
4640
"start": "NODE_ENV=production node $NODE_OPTS server/server",
4741
"start-test": "NODE_ENV=test node $NODE_OPTS server/server",
48-
"win-start": "set NODE_ENV=production&& set CONFIG=hsl&& node server/server.js",
4942
"add-theme": "node build/add-theme",
5043
"relay": "relay-compiler",
5144
"relay-watch": "relay-compiler --watch",

win-launch-scripts/hsl-win-launch-script.bat

Lines changed: 0 additions & 3 deletions
This file was deleted.

win-launch-scripts/national-win-launch-script.bat

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)