maverick
maverick copied to clipboard
Add built maverick-web instance and nginx locations
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.
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.
https://github.com/actions/upload-release-asset
https://developer.github.com/v3/repos/releases/
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?
- Add a stable branch to both and make that the default for -web-dist, so we don't break users interface while we develop.
- Make -web-dist the default web interface for Maverick, and retire -web-legacy.
-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.
- Document
- Retire web-legacy
-web-legacy addressed in #955