Skip to content

Commit 93e1f03

Browse files
authored
Merge pull request #198 from GeoNet/uses3registryHeader
feat: install dependencies from npm/s3
2 parents 5d23fad + 3db7602 commit 93e1f03

31 files changed

Lines changed: 134 additions & 33 deletions

ui/dev_server/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dev_server
22
assets/local
3+
node_modules

ui/dev_server/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Dev Server is a simple HTTP server with a page for each UI fragment that can be
88

99
## Instructions
1010

11-
Run `./copy.sh && go build && ./dev_server`
11+
Run `./install.sh && go build && ./dev_server`
1212

13-
The `copy` script copies assets from the UI packages into the Dev Server's `assets/local` folder. Add any new files
13+
The `install` script installs third party node dependencies, and copies these assets and the assets from the UI packages into the Dev Server's `assets/local` folder. Add any new files
1414
that are needed for the UI fragments to this script, as well as the wrapper HTML in `server.go`
1515

1616
Then in the browser navigate to, for example:
17-
`localhost:8080/geonetfooter`
17+
`localhost:8080/geonetfooter`

ui/dev_server/assets/bootstrap.v5.bundle.min.js

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

ui/dev_server/assets/bootstrap.v5.min.css

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

ui/dev_server/assets/dependencies/@fortawesome/fontawesome-free/css/all.min.css

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)