maverick icon indicating copy to clipboard operation
maverick copied to clipboard

Add built maverick-web instance and nginx locations

Open fnoop opened this issue 7 years ago • 8 comments

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.

fnoop avatar Apr 22 '18 07:04 fnoop

Need to install @vue/cli globally

fnoop avatar Jun 28 '18 21:06 fnoop

Update a dist/ directory in maverick-web, or create a maverick-web-dist repo?

fnoop avatar Feb 27 '20 09:02 fnoop

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/

SamuelDudley avatar Mar 01 '20 01:03 SamuelDudley

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.

fnoop avatar Mar 01 '20 08:03 fnoop

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.

fnoop avatar Mar 24 '20 18:03 fnoop

-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.

fnoop avatar Mar 29 '20 11:03 fnoop

  • Document
  • Retire web-legacy

fnoop avatar Apr 26 '20 11:04 fnoop

-web-legacy addressed in #955

fnoop avatar Apr 26 '20 11:04 fnoop