carwiz-subzero-cli

Carwiz extension for the project subzero-cli which is A TUI for subZero https://subzero.cloud

Usage no npm install needed!

<script type="module">
  import carwizSubzeroCli from 'https://cdn.skypack.dev/carwiz-subzero-cli';
</script>

README

Forked from

https://github.com/subzerocloud/subzero-cli

Clarifications

This repository is forked from v0.1.25 which is currently the working version for carwiz. It was forked to add some functionality:

  • Check about PG_DUMP_IGNORE_STATEMENTS, the delimiter is ;;;. Make sure there are no extra spaces, or else the statement wont be recognized and wont be ignored.

subZero CLI

This tool is meant to be used with the Docker based starter kits for PostgREST and subZero.

After installing, executing the command in the root of your project will give you this interface.

subzero-cli

Features

✓ Convenient interface to view the logs of all stack components
✓ Live code reloading (for SQL/Lua/Nginx configs)
✓ Database schema migration management
✓ Community support on Slack

Prerequisites

DockerNode.js

Install

Use npm to install the subzero developer tools

  docker pull subzerocloud/subzero-cli-tools # install the helper docker image
  npm install --global --production windows-build-tools # windows ONLY!!!
  npm install -g subzero-cli # install the cli
  subzero --help # check it was installed

Installing from source

After cloning the repo, run these commands.

  npm install
  npm run build
  npm link

This will create a command available in your PATH called subzero.

To rebuild and recreate the command do:

  npm run build && npm unlink subzero && npm link

License

Copyright © 2017-present subZero Cloud, LLC.
This source code is licensed under the GPLv3
The documentation to the project is licensed under the CC BY-SA 4.0 license.