lineman-express
v0.0.5
Published
Lineman aplication from different repo express server
Downloads
2
Readme
Lineman aplication (LA) from different repository express server
When you develop your LA in different repository than backend, but still want to serve it on the same domain as the backend you must:
- build your LA
- server the build folder with express-static
Install
npm install lineman-express --save
Configuration
Config is performed through environment variables with obvious meaning:
- FRONTEND_APP: source of the LA. Can be either:
- path where the LA is (tipycally on develop mechines linked directly on filesystem)
- url of git repository. Then clone (if not yet) the repo or pull (if already ...) to local. And run the lineman build
- FRONTEND_APP_BRANCH: (optional) when set, the given branch is used.
- FRONTEND_APP_REPO_PATH: (optional) path where LA url is clonned
If you want to give a feedback, raise an issue.