SOLVED:
I’m being an idiot, simply git clone the project from the web editor via the ssh function:
- SSH key setup
- Click “Version History” on the Web Editor
- Click the 3 dots next to “Save App to Github”
- Click “Clone with Git”
- Copy the second command and run that on your pc that will host the app
I couldn’t get the SSH key working so I worked around it by doing:
git clone -c core.sshCommand="ssh -i /path/to/ssh-key" *second command here*
Then simply run:
anvil-app-server --app "app directory"