-
Notifications
You must be signed in to change notification settings - Fork 1
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
Everyone can use local dev #1902
base: master
Are you sure you want to change the base?
Conversation
don't use csrf if running locally
configs/.env.development
Outdated
@@ -1,27 +1,43 @@ | |||
ASSERT_HTTPS=false | |||
AWS_ACCESS_KEY_ID=AKIAJXF6CNCWBWNX7JZQ | |||
AWS_SECRET_ACCESS_KEY=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 | |||
AWS_ACCESS_KEY_ID=AKIAIDC4WVMTCGV7KRVQ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What key is this?
configs/.env.development
Outdated
GITHUB_DEPLOY_KEYS_POOL_SIZE=10 | ||
GITHUB_DEPLOY_KEY_TITLE=Runnable-development | ||
GITHUB_HOOK_SECRET=3V3RYTHINGisAW3S0ME! | ||
KRAIN_PORT=3100 | ||
LOG_SRC=true | ||
MONGO=mongodb://127.0.0.1:27017/runnable2 | ||
MONGO=mongodb://api:3f5210b8-8fe3-11e5-8e62-07b6eff19ecb@127.0.0.1:27020/gamma |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope. Don't encode production data in here. If we need to, we need to read it from devops-scripts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do we do that, but make it automatic for people?
This will suck for everyone, but maybe someone will be motivated to fix it
configs/.env.development
Outdated
RABBITMQ_PASSWORD=guest | ||
RABBITMQ_USERNAME=guest | ||
REDIS_IPADDRESS=127.0.0.1 | ||
REDIS_PORT=6379 | ||
S3_CONTEXT_RESOURCE_BUCKET=runnable.context.resources.development | ||
S3_CONTEXT_RESOURCE_BUCKET=runnable.context.resources.production-gamma | ||
SENDGRID_KEY=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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What key is this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks fine to me, I mean, I haven't ran anything locally to verify it. I assume it's fine.
GITHUB_DEPLOY_KEYS_POOL_SIZE=10 | ||
GITHUB_DEPLOY_KEY_TITLE=Runnable-development | ||
GITHUB_HOOK_SECRET=3V3RYTHINGisAW3S0ME! | ||
KRAIN_PORT=3100 | ||
LOG_SRC=true | ||
MONGO=mongodb://127.0.0.1:27017/runnable2 | ||
MONGO=mongodb://api:[REPLACEME]@127.0.0.1:27020/gamma |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is jank, if you need to set this manually, just set it locally when you develop. should not be in repo
@Nathan219 do you still want this? |
I say lets make this in compose rather then in this file maybe? |
Come on everybody!