Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Not sure about Ubuntu but i edit ~/.bash_profile
- # Just alter "~/Desktop/localsrc/sites" to wherever you cloned the coinfliptech-app
- # Navigate to the directory containing manage.py (top-level) from anywhere
- alias cfdir='cd ~/Desktop/localsrc/Sites/coinfliptech-app/cfdjango && ls'
- # Activate <flipperenv> from anywhere
- alias cfenvon='cd ~/Desktop/localsrc/Sites/coinfliptech-app/flipperenv && source bin/activate && cd ~/Desktop/localsrc/Sites/coinfliptech-app'
- # Launchh CoinFlip's Aurora MySQL DB's CLI
- # Just be sure to be in the same directory as the .pem file
- alias cfdb='mysql --host=$RDS_HOST --user=$RDS_USER --password=$RDS_PWD --port=$RDS_PORT --ssl-ca=$RDS_CAROOT --ssl-mode=VERIFY_IDENTITY $RDS_DBNAME'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement