# How do I deploy my app with Dokku?

https://www.seturack.com/en/knowledgebase/article/how-do-i-deploy-my-app-with-dokku

1. In the panel, open **My servers** and click your server.
2. On the **Overview** tab, wait for the **App** row to say "Dokku is ready". The page refreshes itself.
3. Copy the IP address from the **Connection address** row.

## Your SSH key

If you gave an SSH key when ordering, it is ready. If not, [Connect over SSH](https://www.seturack.com/en/knowledgebase/article/how-to-connect-with-ssh) and add it:

`echo 'ssh-ed25519 AAAA...' | dokku ssh-keys:add mine`

## Your first app

On the server:

`dokku apps:create myapp`

On your computer, in your project folder:

`git remote add dokku dokku@IP:myapp`

`git push dokku main`

Your app opens at `myapp.IP-with-dashes.sslip.io`. For HTTPS, on the server:

`dokku letsencrypt:set myapp email you@example.com`

`dokku letsencrypt:enable myapp`

The certificate renewal job is switched on during setup (`dokku letsencrypt:cron-job --add`), so there's nothing else to do. If you removed it, the same command brings it back.

**No server yet?** [Order a server with Dokku installed](https://www.seturack.com/en/dokku-vps): you choose the size and pay for what you choose.
