0.0.2 • Published 5 years ago

@mydaco/mydaco-starter v0.0.2

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
5 years ago

mydaco-starter

mydaco-starter installs a CLI for mydaco actions. It enables you to develop actions in your favorite IDE and to synchronize your local and remote code. This does not replace a proper versioning system such as github. We recommend to a versioning system such as git in parallel for backup purpose.

Be aware that this tool is still in a beta state and bugs might occur. In this case, please approach us.

Installation

  • Open a terminal and go to the directory in which you want to work.

  • Open the action version page in your browser. On the action setup tab you fill find a command in the format npx <url> <cliToken> <folderName>

  • Copy the command to your terminal and execute it. This will download your project and install the CLI. Do not forget to go to the folder afterwards.

Usage

  • Use yarn sync or npm run sync to automatically sync your local changes. This will download all files and then auto autosync all your changes. Please be aware, that there is a .mydacoignore that works like gitignore https://git-scm.com/docs/gitignore .

  • Your backend action code should be in the /action folder. To be executed on the server, also the node_modules in /action will be synchronized. Module folders in other directories are not necessary.

  • You can use typescript for example by creating your own folder somewhere on the root and compiling the output to the /action folder.

  • If you don't like to autosync your files, run yarn download or npm run download and yarn upload and npm run upload instead.