Skip to content

Instantly share code, notes, and snippets.

@appcypher
Last active July 9, 2022 20:52
Show Gist options
  • Save appcypher/e0e4e63c51dc9e39afa720f6f239beb8 to your computer and use it in GitHub Desktop.
Save appcypher/e0e4e63c51dc9e39afa720f6f239beb8 to your computer and use it in GitHub Desktop.
Giga CLI Ideas

This is stale. Check Gitlab for up-to-date ideas

Getting started

giga init --headless

This generates the following file structure

.gigamono/
api/
lib/
giga.yaml
package.yaml

node modules used in the project are bundled and stored in lib/ folder.

giga should warn the user when a package that potentially uses node apis is used.

Start the dev server

giga dev

Building the Project

You can build the project with the following command:

giga build

The built project is stored in .gigamono folder.

Running the Binaries Directly

If you are not using docker, giga can set up and run the binaries directly

giga run

Depending on the project setup, should run backend_server, database_server, proxy_server, workspace_server, etc.

Start a Complete Gigamono Project

giga init

This generates the following file structure

.gigamono/
api/
lib/
giga.yaml
package.json

Specifying A Workspace

giga init --workspace my_workspace

This generates the following file structure

.gigamono/
my_workspace/
  api/
  lib/
  package.json
  giga.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment