Created
June 25, 2014 14:20
-
-
Save otsuarez/d81db696353238c31a2e to your computer and use it in GitHub Desktop.
starting a local asciinema.org server
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
sessionname asciinema | |
screen -t rails 0 bash -c 'source ~/.rvm/scripts/rvm ; rvm use 2.1.1 ; cd ~/src/github/asciinema.org ; bundle exec rails server' | |
screen -t sidekiq 1 bash -c 'source ~/.rvm/scripts/rvm ; rvm use 2.1.1 ; cd ~/src/github/asciinema.org ; bundle exec sidekiq' | |
detach |
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
#!/bin/bash | |
sudo /etc/init.d/postgresql restart | |
screen -c ~/bin/asciinema.screenrc | |
echo "open http://127.0.0.1:3000/" | |
echo "you can start recording your shell with asciinema rec" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment