Last active
January 23, 2023 14:46
-
-
Save theamanbhargava/ab578ae46640528c1f2fb716ceb4da0e to your computer and use it in GitHub Desktop.
Running commands on Elastic Beanstalk
This file contains hidden or 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
| sudo su - | |
| source <(/opt/elasticbeanstalk/bin/get-config environment | jq -r 'to_entries | .[] | "export \(.key)=\"\(.value)\""') | |
| source $PYTHONPATH/activate | |
| cd /var/app/current | |
| > command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment