Skip to content

Commit

Permalink
feat: add vhs demo gif
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruesa18 committed Apr 4, 2023
1 parent ed9519f commit 82ef81b
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,13 @@ function project:env() {

```

## Example
Under the `example/` directory you can find some example configurations for dde projects.

You may switch into one of those example directories and run the environment with `dde` like so:

![Demo](docs/media/demo.gif)

## Known solutions
* **failed to remove network dde**
If you get this error it means your project `docker-compose.yml` is wrongly configured.
Expand Down
Binary file added docs/media/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions example/demo.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This is a VHS tape. You can find out more about VHS here: https://github.com/charmbracelet/vhs
# You need to map dde into you PATH. You can do this by creating a shell file in `/usr/local/bin/dde` which links to your dde installation like so: `$HOME/dde/dde.sh $@`

Output ../docs/media/demo.gif

Require echo
Require dde

Set Shell "bash"
Set FontSize 32
Set Width 1600
Set Height 800

Type "cd with-mutagen"
Sleep 500ms
Enter
Sleep 2s

Type "dde up"
Sleep 500ms
Enter
Sleep 6s

Type "dde exec"
Sleep 500ms
Enter
Sleep 4s

Type "echo 'Dev-Environment successfully started 🤓 '"
Sleep 500ms
Enter

Sleep 7s

0 comments on commit 82ef81b

Please sign in to comment.