OpenBEL / belmgr

Website for managing BEL Evidences - based on Aurelia. Requires the OpenBEL Platform for the backend API/storage.
Apache License 2.0
2 stars 4 forks source link

Can we use gulp to build the finished product? #51

Open abargnesi opened 8 years ago

abargnesi commented 8 years ago

We have export, clean-export, and export-copy gulp tasks in build/tasks/export-release.js.

Running gulp build export builds belmgr into the export/ directory. However when I run this directory as a web root with python3 -m http.server, only the Search page is usable. The other pages 404.

This might be a bug with configuring the export task, but I'm not sure.

wshayes commented 8 years ago

I'm reworking the gulp tasks as they are significantly impacted by the Plugin/BELMgr client architecture. I'm trying to get the gulp bundle task to work instead or have that run as part of gulp export.

abargnesi commented 8 years ago

Hmm, sounds promising. Bundler task (aurelia-bundler) seems to package HTML, Js, and CSS.

Do we then need export to package the media/ and help/ directories?