Bind OSX terminal aliases for building and mounting the Hub's rest-backend docker containers and UI dev proxy
The rest-backend is hosted on port 443 and can be accessed at https://localhost.
The UI development proxy is hosted on port 8443 and can be accessed at https://localhost:8443.
- Clone and install with
git clone https://github.com/blackducksoftware/hub-ui-build.git && cd hub-ui-build && npm install - Run
npm start
hub-up: Builds and mounts the Hub's docker containers
--prune-volumes, -v: Remove current containers and prune volumes
--prune-images, -i: Remove current containers and prune images
--clean-build, -c: Build the rest-backend with the clean gradle task, for a slower but more reliable build
--skip-build, -s: Don't make a rest-backend build, useful for unmounting / remounting containers
--remove-containers, -r: Remove currently mounted docker containers
ui-up: Builds the UI and launches the development proxy
ui-dev: Equivalent to running both hub-up and ui-up