2015-11-01 18:49:35 +00:00
|
|
|
* Add the Dockerfile to the root of your static files
|
2015-11-01 18:51:52 +00:00
|
|
|
* Init the git repository and/or add the remote of your dokku app:
|
|
|
|
```
|
|
|
|
git remote add dokku git@yourdomain.com:appname
|
|
|
|
```
|
2015-11-01 18:49:35 +00:00
|
|
|
* Commit all your changes and the repository
|
2015-11-01 18:51:52 +00:00
|
|
|
```
|
|
|
|
git commit -am Pushing to dokku
|
|
|
|
git push dokku master
|
2015-11-01 18:50:54 +00:00
|
|
|
```
|
2015-11-01 18:49:35 +00:00
|
|
|
* Optionally, add any extra domains with the domains plugin:
|
2015-11-01 18:50:54 +00:00
|
|
|
```
|
2015-11-01 18:51:52 +00:00
|
|
|
ssh dokku@yourdomain.com domains:add appname domain.com
|
2015-11-01 18:50:54 +00:00
|
|
|
```
|
2015-11-01 18:49:35 +00:00
|
|
|
|
|
|
|
Find all the available commands and help:
|
2015-11-01 18:50:54 +00:00
|
|
|
```
|
2015-11-01 18:52:04 +00:00
|
|
|
ssh dokku@yourdomain.com
|
2015-11-01 18:50:54 +00:00
|
|
|
```
|
2015-11-01 18:49:35 +00:00
|
|
|
|