Skip to content

Operations and updates

Command Effect
make up Starts the container in the background.
make down Stops the container.
make restart Restarts the container.
make logs Follows the logs.
make pull Pulls the latest published image.
make build Builds the image locally, tagged :latest and :<VERSION>.
make push Publishes :<VERSION> then :latest to the registry (requires docker login).
make release make build then make push.
make clean Stops the container and removes any volumes.
make test-build Builds the app without Docker (npm run build).
make dev Starts the development server.

The default published image is hub.unionlibertaireanarchiste.org/militant/militant-visio. To publish elsewhere: make release IMAGE=registry.example.org/you/militant-visio. To run another image: MILITANT_VISIO_IMAGE=... make up.


Terminal window
git pull
make pull
make up
  1. Update the number in VERSION, public/version.txt and package.json, plus CHANGELOG.md, RELEASE_NOTES.md and the docs/assets/badges/version.svg badge.
  2. Check: npm test then npm run build.
  3. Log in to the registry: docker login hub.unionlibertaireanarchiste.org.
  4. Publish: make release. The :<VERSION> and :latest tags point to the same image.