-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
190 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,5 @@ e2e/cert.pem | |
e2e/key.pem | ||
|
||
dist/ | ||
|
||
tapes/frames/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
Output tapes/showcase.gif | ||
Output tapes/frames/ | ||
|
||
Set Theme Atom | ||
Set Shell zsh | ||
Set Width 1600 | ||
Set Height 900 | ||
Set TypingSpeed 250ms | ||
|
||
Set Margin 10 | ||
Set MarginFill "#6B50FF" | ||
Set BorderRadius 10 | ||
Set Framerate 24 | ||
|
||
Set PlaybackSpeed 1.0 | ||
|
||
# prepare | ||
Enter@2 | ||
Type "echo 'Generating certificates'" | ||
Enter@1 | ||
|
||
Type "make tls" | ||
Sleep 1 | ||
Enter@4 | ||
Enter | ||
Type "echo 'Starting compose project'" | ||
Enter@1 | ||
|
||
# images better be pre-built | ||
Type "make docker-dev" | ||
Sleep 1 | ||
Enter@5 | ||
Type "make docker-ps" | ||
Enter@5 | ||
|
||
# start vidit | ||
Type "clear" | ||
Enter@1 | ||
Type "echo 'Starting vidit tool'" | ||
Enter@1 | ||
Type "echo '-d sets starting directory for file picker'" | ||
Enter@1 | ||
Type "go run cmd/vidit/main.go -d $(pwd)/testfiles" | ||
Enter@5 | ||
|
||
# config screen | ||
Type "http://localhost" | ||
Enter@3 | ||
|
||
# new user screen | ||
# select register | ||
Down@1 | ||
Enter@2 | ||
|
||
# enter creds | ||
Type "JaneDoe" | ||
Enter@2 | ||
Type "password" | ||
Enter@2 | ||
Left@1 | ||
Enter@5 | ||
|
||
# show empty videos screen | ||
Enter@3 | ||
Backspace@1 | ||
|
||
# show quotas screen | ||
Down@1 | ||
Down@1 | ||
Enter@1 | ||
Down@1 | ||
Down@3 | ||
Backspace@2 | ||
|
||
# goto uploads screen | ||
Down@2 | ||
Enter@2 | ||
# select file | ||
Down@1 | ||
Enter@1 | ||
|
||
# enter name | ||
Type "test video" | ||
Sleep 1 | ||
Enter@1 | ||
# confirm | ||
Left@1 | ||
Enter@7 | ||
Enter@2 | ||
|
||
# show quotas screen | ||
Down@1 | ||
Down@1 | ||
Enter@1 | ||
Down@1 | ||
Down@3 | ||
Backspace@2 | ||
|
||
# show videos screen | ||
Enter@2 | ||
Type@6 w | ||
Backspace@5 | ||
Ctrl+c | ||
Sleep 3 | ||
|
||
# show state | ||
Type "echo 'Vidit persists its state into home dir'" | ||
Enter@1 | ||
Type "ls $HOME/.vidi" | ||
Enter@2 | ||
|
||
Type "cat $HOME/.vidi/state.json" | ||
Enter@2 | ||
|
||
Type "echo 'Next run will reuse endpoint config and user info'" | ||
Enter@1 | ||
|
||
# start again | ||
Type "go run cmd/vidit/main.go" | ||
Enter@5 | ||
|
||
# show videos screen | ||
Enter@3 | ||
Backspace@5 | ||
Ctrl+c | ||
Sleep 3 |