NASA-PDS / ds-view

Data Set View application (pds.nasa.gov/ds-view)
Apache License 2.0
0 stars 0 forks source link

Initial stab at Dockerization #1

Closed nutjob4life closed 11 months ago

nutjob4life commented 11 months ago

Note that this gets us as far as this:

Screenshot 2023-09-22 at 12 49 34 PM

To reproduce:

  1. mvn package
  2. Copy search-ui.war to the current directory
  3. Visit https://github.com/NASA-PDS/portal-legacy and click "Code" button choose "Download ZIP" and unpack the archive into the current directory as portal-legacy-main.
  4. docker image build --tag ds-view .
  5. docker container run --rm --publish 8080:8080 ds-view
  6. Visit http://localhost:8080/ds-view

I want to get this committed since I need to stop PDS work for the rest of the week.

jordanpadams commented 11 months ago

@nutjob4life merging this to main, but then I cherry-picked this over to https://github.com/NASA-PDS/ds-view/tree/ds-view-w-commit-history so I can get the commit history back from enterprise github. because the commit history is all off, I can't create a PR. will just rename the current main branch to something else, and rename the ds-view-w-commit-history branch to main. you will probably need to get a clean repo checked out to avoid all the weird conflicts that may happen.

nutjob4life commented 11 months ago

Thanks for the heads-up @jordanpadams!