Commit db561f61 authored by Tomáš Hübelbauer's avatar Tomáš Hübelbauer

Finalize the basic Dokku setup doc

parent 557fad29
......@@ -3,20 +3,13 @@
- [ViewTheDocs](http://dokku.viewdocs.io/dokku/)
- [GitHub](https://github.com/dokku/dokku/)
- [ ] See if HTTPS works with Dokku (LE)
- [ ] Install the [Let's Encrypt plugin](https://github.com/dokku/dokku-letsencrypt)
- [ ] Figure out how to [deploy apps to subdomains](http://dokku.viewdocs.io/dokku~v0.11.4/deployment/application-deployment/)
## Preparing
Either [set up a server accessible through a public IP](https://gitlab.com/TomasHubelbauer/bloggo-node-ubuntu-vps),
or reinstall an existing Wedos VPS.
Create a public-private keypair:
- Get a Ubuntu 16.04 VPS, e.g.: [Node Ubuntu VPS](https://gitlab.com/TomasHubelbauer/bloggo-node-ubuntu-vps),
- `ssh-keygen`
- `/home/Tom/.ssh/dokku`
- [Use a strong passphrase](https://strongpasswordgenerator.com/)
Or use an existing public-private keypair. Make sure you know its passphrase.
## Installing
......@@ -25,10 +18,11 @@ Or use an existing public-private keypair. Make sure you know its passphrase.
- `sudo DOKKU_TAG=v0.11.4 bash bootstrap.sh`
- Wait…
- Go to [hubelbauer.net](http://hubelbauer.net)
- Enter the public key from `~/.ssh/dokku.pub`
- Check using virtual hosts (so that apps have their own subdomains)
- Enter the public key from `~/.ssh/id_rsa.pub`
- Enter the hostname `hubelbauer.net`
- Check *Use virtualhost naming for apps* (so that apps have their own subdomains)
- Click *Finish setup*
- `dokku apps:create bloggo` (on the server)
- `git remote add dokku dokku@hubelbauer.net:bloggo` (on the client)
- `git push dokku master`
- Enter the passphrase for the public-private keypair
- [Study the deployment tutorial further](http://dokku.viewdocs.io/dokku~v0.11.4/deployment/application-deployment/)
- Enter passphrase for the key `~/.ssh/id_rsa.pub`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment