Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skumail/containerize-suitecloud-cli
NetSuite Containerize SuiteCloud CLI for Node.js
https://github.com/skumail/containerize-suitecloud-cli
alpine-linux cli containers docker docker-compose docker-container docker-image dockerfile javascript jdk netsuite nodejs sdf sdk suiteapp suiteapp-sdf suitecloud suitecloud-cli suitecloud-sdk
Last synced: 16 days ago
JSON representation
NetSuite Containerize SuiteCloud CLI for Node.js
- Host: GitHub
- URL: https://github.com/skumail/containerize-suitecloud-cli
- Owner: skumail
- License: mit
- Created: 2020-10-01T11:17:58.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-07T10:04:50.000Z (3 months ago)
- Last Synced: 2024-10-09T20:46:09.236Z (27 days ago)
- Topics: alpine-linux, cli, containers, docker, docker-compose, docker-container, docker-image, dockerfile, javascript, jdk, netsuite, nodejs, sdf, sdk, suiteapp, suiteapp-sdf, suitecloud, suitecloud-cli, suitecloud-sdk
- Language: Dockerfile
- Homepage:
- Size: 9.77 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Containerize SuiteCloud CLI for Node.js](https://hub.docker.com/r/skumail/suitecloud-cli)
SuiteCloud Command Line Interface (CLI) for Node.js is a SuiteCloud SDK tool to manage SuiteCloud project components and validate and deploy projects to your account. CLI for Node.js is an interactive tool that guides you through all the steps of the communication between your local project and your account.
For CLI usage visit Oracle NetSuite official [npm package](https://www.npmjs.com/package/@oracle/suitecloud-cli).
## docker usage
You don't need to have node and JDK installed on your system in order to use suitecloud-cli.```shell
docker run \
--rm -it \
-v $(pwd):/usr/src/app \
skumail/suitecloud-cli
````--rm` removes the container after running, `-it` makes it interactive, `-v $(pwd):/usr/src/app` mounts current directory inside the container. If you want to store the config in another place, mount another directory:
```shell
docker run \
--rm -it \
skumail/suitecloud-cli
```... or use a Docker volume **(Highly Recommended)**:
```shell
docker volume create suitecloud-cli-configdocker run \
--rm -it \
-v suitecloud-cli-config:/home/node/.suitecloud-sdk \
-v $(pwd):/usr/src/app \
skumail/suitecloud-cli
```## CLI Examples
### project:create
Creates a SuiteCloud project, either a SuiteApp or an account customization project.
```shell
docker run \
--rm -it \
-v suitecloud-cli-config:/home/node/.suitecloud-sdk \
-v $(pwd):/usr/src/app \
skumail/suitecloud-cli \
project:create -i
```
### account:setup
Sets up an account to use with the SuiteCloud CLI for Node.js.
```shell
docker run \
--rm -it \
-v suitecloud-cli-config:/home/node/.suitecloud-sdk \
-v $(pwd):/usr/src/app \
skumail/suitecloud-cli \
account:setup -i
```### project:deploy
Deploys the folder containing the project.
```shell
docker run \
--rm -it \
-v suitecloud-cli-config:/home/node/.suitecloud-sdk \
-v $(pwd):/usr/src/app \
skumail/suitecloud-cli \
project:deploy -i
```## docker-compose Examples
Put docker-compose.yml in our existing project. By using docker-compose you do not need to specify the volumes in run command.
### run
```shell
docker-compose run \
--rm \
suitecloud-cli \
project:create -i
```