Skip to content

Getting Started

Paul Mansour edited this page May 29, 2020 · 23 revisions

1. Create a Project

Create a namespace and throw in a function or two, or leave it empty), or use an existing namespace with some existing code), and create a new project by specifying a new project folder and the namespace:

      ]Dado.CreateProject c:\APLProjects\MyProject  #.MyProject

This new project is a local Git repository. The CreateProject command will create as much of the path as necessary for you.

2. Create a Bare (empty) Remote Repository on GitHub

Go to GitHub and create a new, bare, repository. Use the same name for the repository as your Dado project. Decide if it should be public or private. Do NOT add a .gitIgnore file or any license files (you may add these later). There must be no commits in this repository at this stage. Note the URL of your new repository. It will look something like:

https://github.com/PaulMansour/MyProject.git

3. Tell the Local Repository about the Remote Repository

Use the AddRemote command to let the local repository know about the remote repository. This command takes the URL noted above as an argument:

Make sure you are in the project namespace or any subspace of the project before running the command. All Dado commands that are project specific take the current namespace as an implicit input. The current namespace implies the project.

      ]Dado.AddRemote https://github.com/PaulMansour/MyProject.git

That's it. Now you are ready to add features, put out releases, and manage your project.