mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-11 23:02:54 +01:00
Initial commit
Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com> Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com> Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com> Co-Authored-By: Michael Cartner <32543275+michaelcartner@users.noreply.github.com>
This commit is contained in:
33
cli/guides/continuous-deployment.md
Normal file
33
cli/guides/continuous-deployment.md
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
title: Continuous Deployment
|
||||
hide_title: true
|
||||
---
|
||||
|
||||
# Continuous Deployment
|
||||
|
||||
The Noodl CLI have commands that can be used to interact with your Noodl projects.
|
||||
|
||||
:::note
|
||||
|
||||
These commands require authentication.
|
||||
|
||||
:::
|
||||
|
||||
## Clone Noodl Project
|
||||
|
||||
The project clone command `noodl-cli project clone` will call `git clone`, expecting that `git` is already installed on the machine.
|
||||
|
||||
```bash
|
||||
$ noodl-cli project clone \
|
||||
--workspace-id <workspace-id> \
|
||||
--project-id <project-id> \
|
||||
--path <path>
|
||||
```
|
||||
|
||||
## Build Noodl Project
|
||||
|
||||
```bash
|
||||
$ noodl-cli build \
|
||||
--projectDir <project-path> \
|
||||
--outFile <path/file.zip>
|
||||
```
|
||||
24
cli/guides/workspace-modules.md
Normal file
24
cli/guides/workspace-modules.md
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
title: Workspace Modules
|
||||
hide_title: true
|
||||
---
|
||||
|
||||
# Workspace Modules
|
||||
|
||||
:::danger
|
||||
|
||||
Currently, the new Noodl CLI doesn't have support to upload to a workspace, it is supported in the older version of the Noodl CLI, for example, version `0.7.2`.
|
||||
|
||||
:::
|
||||
|
||||
## Using the old Noodl CLI
|
||||
|
||||
To find the workspace id and access key.
|
||||
|
||||
Open the [Noodl console](https://console.noodl.net/) and manage a workspace, if you are admin you will have access to the **Access Key**. The workspace id can be found in the URL on that page, for example `https://console.noodl.net/#/workspaces/g58p2h` have the **workspace id** `g58p2h`.
|
||||
|
||||
Run this in the same folder where you have `module.json`.
|
||||
|
||||
```bash
|
||||
$ noodl-cli push <workspace-id>/<access-key>
|
||||
```
|
||||
Reference in New Issue
Block a user