_____ _ _ _ _____ _ _
|_ _| | | | | | | _ | | | (_)
| | _ __ ___| |_ __ _| | | | | | | __| | ___ ___ _ _ __
| || '_ \/ __| __/ _` | | | | | | |/ _` |/ _ \ / _ \ | | '_ \
_| || | | \__ \ || (_| | | | \ \_/ / (_| | (_) | (_) | | | | | |
\___/_| |_|___/\__\__,_|_|_| \___/ \__,_|\___/ \___/ |_|_| |_|
_ _______ _ _ _ _ _ _ _
Commands to keep your app healthy, Ruby and Rails and gems wise using RVM.
If you use rbenv, please see Rails-application-health-codes-rbenv.md
Open new Terminal, note the gemsets showing:
rvm gemset list
You will see you are using the (default) gemset.
Keep your system up to date with rvm
and brew
:
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 -e | |
clear | |
echo "============================================" | |
echo "WordPress Install Script" | |
echo "============================================" | |
echo "Database Name: " | |
read -e dbname | |
echo "Database User: " | |
read -e dbuser | |
echo "Database Password: " |
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
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |