Parallel project to simplify Layers's repos first usage
Now using golang
- NVM
- install versions: 8, 12, 14
- NVM_DIR is set
- Layers
- LAYERS_PATH is set to the root of Layers's directory
- To run in your own machine you must have golang installed
- This project is using Cobra to build the CLI
- With golang installed, use
go run main.go
to run the cli - If you want to build, use this command
go build
in the root. It will generatelayers_cli
file, which could be initialized via terminal - If you want to create a new command, you must install CobraGenerator. With CobraGenerator installed, use the command
cobra add <commandName>
in the root.
- run
bash ./install.sh --build
in the root to build and install - OBS: At this moment you need to install golang to build
- Commands: status of each command
- Doctor
- check mongodb
- check redis
- check file
- check required directories
- use knowledge package
- Ecosystem
- Run
- Run ecosystem for current project
- Monitor
- Open pm2's terminal monitor
- Setup
- get project's required directories
- get needs for the project ecosystem
- setup needs
- run setup scripts for each directory
- get interpreters
- node
- from nvm
- from asdf
- node
- generate .config.js file
- Stop
- Stop current ecosystem
- Run
- Doctor
- configuration file (LAYERS.md): a file to specify the project's configuration;
- automatic installation;
- publish binary
- install script