Open fnoop opened 6 years ago
Need to install @vue/cli globally
Update a dist/ directory in maverick-web, or create a maverick-web-dist repo?
Regardless of if you want the dist in maverick-web or in another repo we can automate the build in a GitHub pipeline. E.g. push maverick-web triggers a dist build that either is available as a release download (that we can pull down into maverick) or pushes the result of the dist build to maverick-web-dist.
I think at least to start with we would want this to be a manual process. The dist should be a well tested, stable codebase, probably tagged in github, that shouldn't be updated that often.
We could use the pipeline by setting releases eventually, once we're a bit further down the line.
This is working really well now. Dev is done in ~/code/maverick-web and any pushes are automatically built and pushed to -web-dist repo which lives in ~/software/maverick-web. maverick self-update
updates both repos.
What's left to do?
-web-dist is now the default website for maverick and the autopush from -web is working perfectly, great solution. Need to now create -stable branches and point maverick webroot at -stable branch.
-web-legacy addressed in #955
Maverick web is currently available for devserver in /dev/maverick and if it exists in dev repo, /web/maverick. Instead add a 'dist' repo for maverick-web and repoint /web/maverick at that.