-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e96a98
commit 4b2f31e
Showing
81 changed files
with
139 additions
and
22,880 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,38 +5,35 @@ | |
"description": "Behold My Awesome Project!", | ||
"author_name": "Joe Sixie", | ||
"domain_name": "sixfeetup.com", | ||
"repo_name": "{{ cookiecutter.project_name }}", | ||
"repo_url": "[email protected]:sixfeetup/{{ cookiecutter.project_slug }}.git", | ||
"email": "{{ cookiecutter.author_name.lower()|replace(' ', '-') }}@example.com", | ||
"email": "{{ cookiecutter.author_name.lower()|replace(' ', '-') }}@{{ cookiecutter.domain_name }}", | ||
"version": "0.1.0", | ||
"timezone": "US/Eastern", | ||
"aws_region": "us-east-1", | ||
"aws_account_id": "000000000000", | ||
"create_nextjs_frontend": "y", | ||
"create_react_frontend": "n", | ||
"mail_service": [ | ||
"Mailgun", | ||
"Amazon SES", | ||
"Other SMTP" | ||
], | ||
"use_drf": "n", | ||
"use_graphql": "y", | ||
"custom_bootstrap_compilation": "n", | ||
"use_compressor": "n", | ||
"use_celery": "n", | ||
"use_sentry": "n", | ||
"debug": "n", | ||
"source_control_provider": [ | ||
"bitbucket", | ||
"github", | ||
"github.com", | ||
"bitbucket.org", | ||
"none" | ||
], | ||
"source_control_organization_slug": "sixfeetup", | ||
"__prompts__": { | ||
"source_control_organization_slug": "What is the organization slug for the source control provider?", | ||
"source_control_provider": { | ||
"__prompt__": "Which source control provider do you want to use?", | ||
"bitbucket": "Bitbucket", | ||
"github": "Github", | ||
"none": "No source control provider" | ||
} | ||
} | ||
}, | ||
"repo_name": "{{ cookiecutter.project_slug }}", | ||
"repo_url": "git@{{ cookiecutter.source_control_provider }}:{{ cookiecutter.source_control_organization_slug }}/{{ cookiecutter.project_slug }}.git" | ||
} |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# read the secrets from 1Password | ||
# strip whitespace from the value | ||
export AWS_S3_ACCESS_KEY_ID=$(op read "op://{{ cookiecutter.project_name }}/AWS_S3_ACCESS_KEY_ID/token") | ||
export AWS_S3_SECRET_ACCESS_KEY=$(op read "op://{{ cookiecutter.project_name }}/AWS_S3_SECRET_ACCESS_KEY/token") | ||
export AWS_SES_ACCESS_KEY_ID=$(op read "op://{{ cookiecutter.project_name }}/AWS_SES_ACCESS_KEY_ID/token") | ||
export AWS_SES_SECRET_ACCESS_KEY=$(op read "op://{{ cookiecutter.project_name }}/AWS_SES_SECRET_ACCESS_KEY/token") | ||
export POSTGRES_PASSWORD=$(op read "op://{{ cookiecutter.project_name }}/POSTGRES_DB/password") | ||
export POSTGRES_USER=$(op read "op://{{ cookiecutter.project_name }}/POSTGRES_DB/username") | ||
export AWS_S3_ACCESS_KEY_ID="op://{{ cookiecutter.project_name }}/AWS_S3_ACCESS_KEY_ID/token" | ||
export AWS_S3_SECRET_ACCESS_KEY="op://{{ cookiecutter.project_name }}/AWS_S3_SECRET_ACCESS_KEY/token" | ||
export AWS_SES_ACCESS_KEY_ID="op://{{ cookiecutter.project_name }}/AWS_SES_ACCESS_KEY_ID/token" | ||
export AWS_SES_SECRET_ACCESS_KEY="op://{{ cookiecutter.project_name }}/AWS_SES_SECRET_ACCESS_KEY/token" | ||
export POSTGRES_PASSWORD="op://{{ cookiecutter.project_name }}/POSTGRES_DB/password" | ||
export POSTGRES_USER="op://{{ cookiecutter.project_name }}/POSTGRES_DB/username" | ||
# use sandbox host for secrets generation | ||
export POSTGRES_HOST=postgres | ||
export DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}/{{ cookiecutter.project_slug }} | ||
export DJANGO_SECRET_KEY=$(op read "op://{{ cookiecutter.project_name }}/DJANGO_SECRET_KEY/token") | ||
export DJANGO_SECRET_KEY="op://{{ cookiecutter.project_name }}/DJANGO_SECRET_KEY/token" | ||
{%- if cookiecutter.mail_service == 'Mailgun' %} | ||
# Mailgun api key | ||
export MAILGUN_API_KEY=$(op read "op://{{ cookiecutter.project_name }}/MAILGUN_API_KEY/token"){%- endif %} | ||
export MAILGUN_API_KEY="op://{{ cookiecutter.project_name }}/MAILGUN_API_KEY/token"{%- endif %} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.