Skip to content

Latest commit

 

History

History
153 lines (88 loc) · 2.95 KB

README.md

File metadata and controls

153 lines (88 loc) · 2.95 KB

Manual Installation and Development

Download the GIT repository in you favorite projects directory

$ git clone [email protected]:NativeScript/nativescript-starter-kits-utils.git

deploy-templates

Automate npm deployment with github tags for listed Nativescript Sidekick Templates

Enter the scripts/deploy directory and copy the script to your fusion-templates directory

$ cp ./deploy-templates.sh PATH_TO_YOUR/fusion-templates/

Running the script

Make the file executable

$ chmod u+x ./deploy-templates.sh

Run the script with valid arguments

1: Valid Sidekick templates directory
2: Valid simver as an argument e.g [ 3.1.1 | major | minor | patch | ]
 $ ./deploy-templates.sh ./your-templates-dir 3.1.4
 

deploy-page-templates

Automate npm deployment with github tags for listed Nativescript Sidekick Page Templates

Enter the scripts/deploy directory and copy the script to your fusion-templates directory

$ cp ./deploy-page-templates.sh PATH_TO_YOUR_FOLDER/

Running the script

Make the file executable

$ chmod u+x ./deploy-page-templates.sh

Run the script with valid arguments

1: Valid Sidekick templates directory
2: Valid simver as an argument e.g [ 3.1.1 | major | minor | patch | ]
 $ ./deploy-page-templates.sh ./your-templates-dir 3.1.4
 

deploy-extension

Automate npm deployment with github tags for the Nativescript Starter Kits Extension

Enter the scripts/deploy directory and copy the script to your nativescript-starter-kits directory

$ cp ./deploy-extension.sh PATH_TO_YOUR/nativescript-starter-kits/

Running the script

Make the file executable

$ chmod u+x ./deploy-extension.sh

Run the script with a valid simver as an argument e.g [ 3.1.1 | major | minor | patch | ]

 $ ./deploy-extension.sh 3.1.4
 

get-templates

Enter the scripts/download directory and copy the script to your fusion-templates directory

$ cp ./get-templates.sh PATH_TO_YOUR/fusion-templates/

Running the script

Make the file executable

$ chmod u+x ./get-templates.sh

Run the script

 $ ./get-templates.sh
 

get-page-templates

Enter the scripts/download directory and copy the script to your fusion-templates directory

$ cp ./get-page-templates.sh /YOUR_DOWNLOAD_FOLDER

Running the script

Make the file executable

$ chmod u+x ./get-page-templates.sh

Run the script

 $ ./get-page-templates.sh