tmobile / sawtooth-next-directory

Home for NEXT Directory - Powered by Hyperledger Sawtooth. Chat with the team at https://chat.hyperledger.org/channel/sawtooth-next-directory/
Apache License 2.0
11 stars 7 forks source link

Host client code for production #663

Closed jbobo closed 5 years ago

jbobo commented 5 years ago
User Story Host client code for production
T-shirt size: M
User Story "A production deployed application shouldn't be hosting static client code on a development Node server."
Description Rewrite current build scripts to build the static client code and mount as a static file in the rbac-server container. Route the static client code at root /.
Requirements The static client code should be rebuildable on it's own (independently of rbac-server deployments/upgrades) and must also be triggered and mounted during rebac-server deployment/upgrades. Serve static client code on nginx instead of Sanic as Sanic is not meant to host static files.
Acceptance Criteria/Tests No tests required but all above requirements must be met and demonstrable.