Advertisement
Guest User

cf

a guest
Aug 30th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.72 KB | None | 0 0
  1. # Not sure about Ubuntu but i edit ~/.bash_profile
  2. # Just alter "~/Desktop/localsrc/sites" to wherever you cloned the coinfliptech-app
  3.  
  4. # Navigate to the directory containing manage.py (top-level) from anywhere
  5. alias cfdir='cd ~/Desktop/localsrc/Sites/coinfliptech-app/cfdjango && ls'
  6. # Activate <flipperenv> from anywhere
  7. alias cfenvon='cd ~/Desktop/localsrc/Sites/coinfliptech-app/flipperenv && source bin/activate && cd ~/Desktop/localsrc/Sites/coinfliptech-app'
  8. # Launchh CoinFlip's Aurora MySQL DB's CLI
  9. # Just be sure to be in the same directory as the .pem file
  10. 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