Skip to content

Latest commit

 

History

History

README.md

Hydra Lab Web Portal

Quick start for dev environment setup

Config webpack.config.json to use the right server:

{
    "devServer": {
        "target": "Center Server Endpoint",
        "secure": false,
        "changeOrigin": true,
        "headers": {
            "Authorization": "Your Auth Token registerred in Center"
        }
    }
}

Run command:

# npm ci only uses the version in the lockfile and produces an error if the package-lock.json and package.json are out of sync.
# Or you can use npm install if you want to update the lockfile.
npm ci
npm run dev

To build the production Javascript bundle, run the command:

npm run pub

Dependencies