GitHub has a limit imposed that only allows you to Fork a repository to a username/project once. This means that if you're trying to follow the Create An App instructions multiple times to create several MOOSE-based applications in one username you will get stuck.

The only way to resolve this is to manually clone Stork and push it to a new repository on GitHub. Here's how to do that:

0. Set up SSH keys on GitHub

If you haven't set up SSH keys for GitHub yet - this is the time to do it because it's going to save you quite a bit of time/pain:

Generating SSH Keys for GitHub

1. Create a "bare" repository on GitHub

In the username/project you want the new application to end up in click the New Repository button:

new_repository.png

  • For the "Repository name" put the name of the new application (ideally this should be an animal name!). From here on I will use ANIMAL_NAME to refer to the repository name.
  • Put a "Description"
  • Select "Public" or "Private" depending on what you want
  • Do NOT select "Initialize this repository with with a README"

Click "Create Repository"

2. Clone Stork and Push to new Repo

Assuming you went by our Getting Started instructions and already created a ~/projects directory in your home directory:

cd ~projects
git clone git@github.com:idaholab/stork.git ANIMAL_NAME
cd ANIMAL_NAME
./make_new_application.py
git commit -am "Initial import of ANIMAL_NAME"
git remote add new_repo git@github.com:USERNAME/ANIMAL_NAME.git
git push -u new_repo master

USERNAME here refers to the username or project name where you created the bare repository.

3. Delete Directory and Re-Clone

Your repository on GitHub is now correct - but your local clone is messed up because the origin remote points to Stork instead of to your new repository. The easiest way to fix this this is to delete your local directory and reclone:

cd ~/projects
rm -rf ANIMAL_NAME
git clone git@github.com:USERNAME/ANIMAL_NAME.git

4. Tell Us About It

By going through this process manually GitHub now won't keep track of this new application for us... so you need to tell us about it. You can email the mailing list and you should probably tweet about it using #mooseframework .