goodrobots / maverick

UAV Autonomous Systems Management
https://goodrobots.github.io/maverick/
MIT License
176 stars 61 forks source link

Add built maverick-web instance and nginx locations #759

Open fnoop opened 6 years ago

fnoop commented 6 years ago

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 commented 6 years ago

Need to install @vue/cli globally

fnoop commented 4 years ago

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

SamuelDudley commented 4 years ago

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/

fnoop commented 4 years ago

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 commented 4 years ago

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?

fnoop commented 4 years ago

-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 commented 4 years ago
fnoop commented 4 years ago

-web-legacy addressed in #955