Skip to content

[FEATURE] Installation instructions #69

Closed

Description

@hughsheehy

Duplicate issue

  • I've searched for any related issues and avoided creating a duplicate issue.

Description

Working through the installation instructions, it's not 100% clear which config files I should be copying/editing/using.

I've copied the config-template.json file in /src/assets into a config.json file, with a change in the URL for the OCPP server from localhost to the URL of an actual OCPP server. Should I also be copying or changing other template files? It's not clear.

When I try to npm start after doing that (windows 10), I get the following outputs.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

PS D:\hughs\e-mobility-charging-stations-simulator-main> npm start
npm WARN config global --global, --local are deprecated. Use --location=global instead.

e-mobility-charging-stations-simulator@1.1.63 prestart
npm run build

npm WARN config global --global, --local are deprecated. Use --location=global instead.

e-mobility-charging-stations-simulator@1.1.63 build
npm run rollup

npm WARN config global --global, --local are deprecated. Use --location=global instead.

e-mobility-charging-stations-simulator@1.1.63 rollup
rollup --config

'rollup' is not recognized as an internal or external command,
operable program or batch file.
PS D:\hughs\e-mobility-charging-stations-simulator-main>

Attachments

No response

Activity

  1. jerome-benoit commented on Jun 27, 2022

    @jerome-benoit
    Contributor

    You first have to run npm install. It's not documented because it's implicit when you want to run node.js code.

  2. hughsheehy commented on Jun 27, 2022

    @hughsheehy
    Author

    npm install

    I try to follow the exact instructions. Jumping from language to language means that I don't know what should be implicit.

  3. jerome-benoit commented on Jun 27, 2022

    @jerome-benoit
    Contributor

    A PR to enhance the README will be welcome

  4. hughsheehy commented on Jul 3, 2022

    @hughsheehy
    Author

    I'm very reluctant to do PRs on well run projects.

    But another question on the readme. Should the "npm start:server" instruction be "npm run start:server"

    H

  5. added a commit that references this issue on May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions