Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Moved ui folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jdurnwald committed Apr 12, 2022
1 parent 175d4f4 commit 0a48f2b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ The syntax is similar to the charging station configuration template 'Configurat
To start the program, run: `npm start`.

To start the program with a UI controller, run: `npm start:server`.
Then, start/stop the simulator connections by going to `https://<hostname:port>` in a browser.
Then, start/stop the simulator connections by going to `https://<hostname:port>` in a browser. Localhost port will default to 8080. For BTP, the port is assigned based on the process.env.PORT environment variable.

## Docker

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"prepare": "node prepare.js",
"prestart": "npm run build",
"start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.js",
"start:server": "npm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/http/start.js",
"start:server": "npm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/ui/http/start.js",
"start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.js",
"start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js",
"start:dev:debug": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import ts from 'rollup-plugin-ts';
const isDevelopmentBuild = process.env.BUILD === 'development';

export default {
input: ['src/start.ts', 'src/http/start.ts', 'src/charging-station/ChargingStationWorker.ts'],
input: ['src/start.ts', 'src/ui/http/start.ts', 'src/charging-station/ChargingStationWorker.ts'],
output: {
dir: 'dist',
format: 'cjs',
Expand Down
2 changes: 1 addition & 1 deletion src/http/start.ts → src/ui/http/start.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Bootstrap from '../charging-station/Bootstrap';
import Bootstrap from '../../charging-station/Bootstrap';
import express from 'express';

const app = express();
Expand Down

0 comments on commit 0a48f2b

Please sign in to comment.