Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging CherryPy webserver with Girder #25

Closed
MBoustani opened this issue Oct 23, 2015 · 2 comments
Closed

Merging CherryPy webserver with Girder #25

MBoustani opened this issue Oct 23, 2015 · 2 comments
Assignees

Comments

@MBoustani
Copy link
Collaborator

GeoParser at this stage is using two servers as backend.
1- CherryPy as web server
2- Grider for file system and running jobs

Beside running two servers at same time could increase the chance of application failure there is problem if calling Girder on different port by CherryPy in different port (cross-domain issue), therefore these two can be merged to one and have Girder take care of everything.

@smadha
Copy link
Collaborator

smadha commented Oct 24, 2015

Steps to merge(Till today, might be simplified later)

  1. Create sym link to https://github.com/MBoustani/GeoParser/tree/master/plugin/geoparser_plugin in girder installation -> /path/to/installation/python2.7/site-packages/girder/plugins/.
  2. Create sym link to GeoParser/static/* content in /path/to/installation/python2.7/site-packages/girder/clients/web/static
  3. Enable GeoParser plugin from Girder GUI.

After this GeoParser will start getting served from root and girder will be on /girder. Only issue left is that girder does not points to correct static files any more. We need to modify below files to correct files path in girder. Adding "/" at start of all css,js will fix.

/path/to/installation/python2.7/site-packages/girder/utility/webroot.py
/path/to/installation/python2.7/site-packages/girder/api/describe.py

@MBoustani
Copy link
Collaborator Author

Server changed to Django

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants