irods-contrib / irods-cloud-browser

DFC Web Based cloud browser
BSD 2-Clause "Simplified" License
18 stars 13 forks source link

Upgrade instructions #190

Open kript opened 8 years ago

kript commented 8 years ago

Apologies for the newbie question, but I'm not a Java developer, and have limited experience of Tomcat et al.

We have an 1.0.0-RELEASE install that I'd like to upgrade to 1.0.2.0-beta1, but I'm unsure of the process. We setup the system as per the manual instructions, and it looks like its as simple as;

1.checking out the latest release

  1. installing grails (if needed)
  2. cd irods-cloud-frontend
  3. run $gulp gen-war
  4. use the tomcat manager page to upload the resulting build/irods-cloud-backend.war
  5. profit!

Have I missed, or misunderstood anything?

cheers

John

michael-conway commented 8 years ago

Hi John, yes, that's it. We've finally obviated the need to separately treat the javascript and static assets, that was an artifact of how we originally developed it.

So, yes, deploy the war and it is directly addressable. I think there are a few tweaks to do before we do this release, but the .war file is already downloadable so you can drop in and test here:

https://github.com/DICE-UNC/irods-cloud-browser/releases/tag/1.0.2.0-beta1

The html and javascript, etc are served out of the .war file. It is still typical to proxy tomcat with nginx or apache http server.

Cheers,

MC

On 10/13/2016 08:35 AM, John Constable wrote:

Apologies for the newbie question, but I'm not a Java developer, and have limited experience of Tomcat et al.

We have an 1.0.0-RELEASE install that I'd like to upgrade to 1.0.2.0-beta1, but I'm unsure of the process. We setup the system as per the manual instructions, and it looks like its as simple as;

1.checking out the latest release

  1. installing grails (if needed)
  2. cd irods-cloud-frontend
  3. run $gulp gen-war
  4. use the tomcat manager page to upload the resulting build/irods-cloud-backend.war
  5. profit!

Have I missed, or misunderstood anything?

cheers

John

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DICE-UNC/irods-cloud-browser/issues/190, or mute the thread https://github.com/notifications/unsubscribe-auth/ABC-LZIY7i3rBqgjfVz3V1EI-UpkGNF7ks5qziWngaJpZM4KV1af.

kript commented 8 years ago

Thanks, so if I have a system already configured, installing the .war is all I need to do? Before, I need to copy some files into the http root and point apache at that - I'm assuming I don't need to change any of that?

michael-conway commented 8 years ago

Yes, then you point your browser at the tomcat url (mumble/irods-cloud-backend) and you are off to the races

On 10/13/2016 08:54 AM, John Constable wrote:

Thanks, so if I have a system already configured, installing the .war is all I need to do? Before, I need to copy some files into the http root and point apache at that - I'm assuming I don't need to change any of that?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DICE-UNC/irods-cloud-browser/issues/190#issuecomment-253504674, or mute the thread https://github.com/notifications/unsubscribe-auth/ABC-LdtCqUYE6IlBL25wGqCNo8WsKvJ_ks5qzioYgaJpZM4KV1af.