Prerequisites: Scaleway VPS is set up with the default settings, you are connected to it via SSH (e.g. via PuTTY).
wget https://raw.githubusercontent.com/dokku/dokku/v0.4.14/bootstrap.sh
- Add the following entry to
/etc/hosts
:127.0.0.1 <SERVER_NAME
and comment out (#
)127.0.1.1 server
and127.0.0.1 localhost server
sudo DOKKU_TAG=v0.4.14 bash bootstrap.sh
. This will fail (this is expected)sudo reboot
- Do 3. again
- In your web browser, navigate to
<PUBLIC_IP>
or<PUBLIC_DNS>
to finish dokku setup.
- I set as hostname:
<PUBLIC_DNS>
- I activate the Virtualhost Naming
- FINISHED! You can read http://dokku.viewdocs.io/dokku/application-deployment/ on how to deploy apps to your dokku PaaS.
Adding a dokku application:
dokku apps:create sample-app
dokku domains:add sample-app sample.subdomain.com
git remote add dokku dokku@<PUBLIC DNS>:sample-app
andgit push dokku master