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

Break instructions down some more

parent a714c560
......@@ -3,14 +3,28 @@
- [ViewTheDocs](http://dokku.viewdocs.io/dokku/)
- [GitHub](https://github.com/dokku/dokku/)
- [ ] See if HTTPS works with Dokku (LE)
## 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.
Or use an existing public-private keypair. Make sure you know its passphrase.
## Installing
- [Set up a server accessible through a public IP](https://gitlab.com/TomasHubelbauer/bloggo-node-ubuntu-vps)
- Possible to also restart the Wedos VPS to clean Ubuntu 16.04
- `ssh root@#.#.#.#`
- `wget https://raw.githubusercontent.com/dokku/dokku/v0.11.4/bootstrap.sh;sudo DOKKU_TAG=v0.11.4 bash bootstrap.sh`
- Wait for a couple of minutes as the installation progresses
- Go to the domain name or IP associated with the Dokku server
- Create a public key or find it as `cat ~/.ssh/id_rsa.pub`
- Finish the installation
- [Follow the deployment tutorial](http://dokku.viewdocs.io/dokku~v0.11.4/deployment/application-deployment/)
- `ssh root@31.31.77.33`
- `wget https://raw.githubusercontent.com/dokku/dokku/v0.11.4/bootstrap.sh`
- `sudo DOKKU_TAG=v0.11.4 bash bootstrap.sh`
- Wait…
- Go to [hubelbauer.net](http://hubelbauer.net)
- Enter the public key from `~/.ssh/id_rsa.pub`
- Check using virtual hosts (so that apps have their own subdomains)
- `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/)
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