@mydaco/mydaco-starter v0.0.2
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 syncornpm run syncto automatically sync your local changes. This will download all files and then auto autosync all your changes. Please be aware, that there is a.mydacoignorethat works like gitignore https://git-scm.com/docs/gitignore .Your backend action code should be in the
/actionfolder. To be executed on the server, also thenode_modulesin/actionwill 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
/actionfolder.If you don't like to autosync your files, run
yarn downloadornpm run downloadandyarn uploadandnpm run uploadinstead.