Designing and Coding on the Editor, but hosting locally

What I’m trying to do:
Download my app that i’ve coded on the web editor, and host it locally.

I don’t understand how I can export or download my code. Do I need to recode the whole thing using the github documentation for the server?

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"
2 Likes