Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
/ subzero-cli Public archive

Tooling to aid development of subZero/PostgREST based backend APIs

License

Notifications You must be signed in to change notification settings

subzerocloud/subzero-cli

Repository files navigation

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 with auto migration generation using sqitch/migra
✓ Community support on Slack

Prerequisites

DockerNode.js

Install

Use npm to install the subzero developer tools

  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.

About

Tooling to aid development of subZero/PostgREST based backend APIs

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published