Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: add vhs demo gif #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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](assets/gif/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 assets/gif/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions example/demo.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 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 ../assets/gif/demo.gif

Require echo
Require dde

Set WindowBar "Colorful"
Set WindowBarSize 40
Set BorderRadius 8

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