Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-template

A template for NSB/AppStudio projects, ready to use with Copilot

Once you have made a project of your own, in your own repo, using this template, replace the above with a descripion of your project. You may also want to change the LICENSE.

You can also replace the text below with information specific to your project when you no longer need it.

Usage

This repository is a starting-point template for NSB/AppStudio projects.

Contents

  • LICENSE - the license for this template, not necessarily the same as your license, which will be in you
  • README.md - this document. Update it with general information for your own project.
  • Project1,appstudio/Project1.project – AppStudio project file (JavaScript, one empty form)
  • Project1.appstudio/forms/Form1/Form1.json – Form definition File for Form1
  • Project1.appstudio/forms/Form1/Form1.js – JavaScript code file for Form1
  • Project1.appstudio/properties – build option files for your project

Prerequisites

  1. A GitHub account
  2. Github Desktop needs to be installed.
  3. To use Copilot, you need a Copilot subscription. The Pro plan is much more powerful than the free plan.

Getting Started

To start a new project

  1. Using the green Code button, click Download ZIP and unzip on your local system.
  2. Rename it what you want, like test.
  3. In GitHub Desktop, select New Repository from the File menu.
  4. Give it the same name (test) and set the local path where you want it.
  5. Click on Create Repository
  6. Copy the downloaded test folder over the test folder in the new repo.
  7. GitHub Desktop should show all the files as changed.
  8. Add a name for the push, like “initial push”
  9. Publish repository
  10. Go to GitHub website. Your project should be there.

To use an existing project

  1. Do the above steps to start a new project.
  2. Go to your project's folder. It should end in .appStudio
  3. Copy that folder into the cloned template folder
  4. Remove the .appstudio folder that was there before.
  5. Add a name for the push, like “initial push”
  6. Publish repository
  7. Go to GitHub website. Your project should be there.

Try Copilot

  1. In your repo's home page, click on the Agents tab.
  2. Paste the following into the Describe a coding task to work on prompt box, then click on the Start task button
Modify Form1 by adding a Bootstrap 5 button named Button1, labeled "Click Me".
When clicked, it should display a message box with "Hello World".

You can click on the action to watch it work. When complete, merge the changes into your project.

Important

When using Copilot to modify your code, make sure your project is not open in AppStudio. Your changes could be overwritten.

About

A template for NSB/AppStudio projects

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages