Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shell wrapper to source env before running command #153

Merged
merged 3 commits into from
Mar 25, 2014

Conversation

arikfr
Copy link
Member

@arikfr arikfr commented Mar 25, 2014

Usage: (you need to have .env file to use this)

$ bin/run ./manage.py shell

If you want to check that it in fact applied correct settings:

$ bin/run ./manage.py check_settings

Can be used to run migrations:

$ PYTHONPATH=. bin/run python migrations/...some migration...

arikfr added a commit that referenced this pull request Mar 25, 2014
Shell wrapper to source env before running command
@arikfr arikfr merged commit 84d0790 into master Mar 25, 2014
@arikfr
Copy link
Member Author

arikfr commented Mar 25, 2014

@amirnissim this one is for you :-)

@amirnissim
Copy link
Contributor

לפנק לפנק לפנק :)

christophervalles pushed a commit to hailocab/redash that referenced this pull request May 8, 2014
Shell wrapper to source env before running command
@arikfr arikfr deleted the feature_data_source branch September 11, 2014 04:51
washort pushed a commit to washort/redash that referenced this pull request Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants