Just click the fork button in the top right of this page.
In the right hand column, click on the screwdriver/wrench icon for Settings.
The usual git clone command will work.
Install node.js on your machine, then install Grunt via the command line...
npm install -g grunt-cli
On the command line...
cd <wherever you cloned it>
npm install
grunt
You'll be prompted to name your component after running the grunt
command. You can pick a new name or leave it blank.
- Load the URL from Step 4 into your browser.
- The browser will complain that the security certificate is not trusted.
- That's okay - add an exception, this will allow the component to work in Appmaker.
- Go to Appmaker - We'll be using the Integration version for the workshop.
- Sign in.
- In the menu with your email address, click on 'Add a Component'.
- Specify the URL that Step 5 gives you.
As the component files are changed, the local server will udpate; Refresh the designer to make it load the new version. (we hope to streamline this later).
To catch errors in your component code, run the following command on the command line in your component folder...
grunt lint
It will identify syntax errors in your component and help you troubleshoot.