John Azariah's Blog

Pontifications (and pointless ramblings) of a (mostly) functional programmer!

Working With ProjectScaffold : 1 - Getting Started

Getting started

Note

• Shell: I use 'git bash' in these examples. You can use cmd.exe (or Powershell shudder) but you'll have to translate the intent of my commands into your dialect.
• git: I use the aliases listed in this gist.

ProjectScaffold will create a folder structure for you, add bindings for your source control repo, generate basic projects, and provide you with scripts for building your code.

In my experience, it's better to start with a clone of the ProjectScaffold project.

At the directory that you want your repository to be a child of, clone the project:

This will create a directory called my-awesome-project, which will have both the source of fsprojects/ProjectScaffold, and also its entire history.

You may actually not want that as the baseline of your project, so go ahead and remove the .git directory now.

Now, to be able to make a fresh start if you mess up, I recommend creating a git repo and committing the state of the code as you downloaded it.

Now is a good time to create your github repository. You'll need it for the step below.

Make sure you check the 'Initialize this repository with a README'