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

Add logs tip and split tips by headers

parent 736957e5
......@@ -47,6 +47,8 @@ It uses [herokuish](https://github.com/gliderlabs/herokuish) to simulate the Her
## Tips
### TypeScript
Running TypeScript applications on Dokku without any Procfiles can be achieved by running this in `start`:
```sh
......@@ -65,12 +67,22 @@ This is so that TSC has time to build and Node to start, the default 10 seconds
**Note:** TypeScript needs to be in `dependencies` and not in `devDependencies` for this to work it appears.
### Kill stuck deployment
Kill app stuck in deployment: `rm /home/dokku/$app/.deploy.lock`
### Create a new app
Create a new app: `dokku apps:create $name`
### Add Dokku remote
Add the Dokku remote: `git remote add dokku dokku@hubelbauer.net:$name`
### View app logs
`dokku logs $name`
## Preparing
- Get a Ubuntu 16.04 VPS, e.g.: [Node Ubuntu VPS](https://gitlab.com/TomasHubelbauer/bloggo-node-ubuntu-vps),
......
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