Jump to content

User:JoeWalsh (WMF)/Draft:Ocean

From Wikitech

To coordinate building of frontend assets, developers install Ocean. Ocean is a command line tool written in Go that wraps Blubber to create Docker images for building frontend assets. The goal is to utilize the same Docker images from docker-registry.wikimedia.org that will be used in the deployment pipeline to ensure a consistent environment for development and deployment.

ocean init configures the repo for frontend development

ocean update updates to the latest upstream images

ocean build builds frontend assets for deployment

ocean dev watches the local source for changes and rebuilds as necessary. Runs a development sever and restarts as changes are made