Commit Graph

122 Commits (7f5ffee7b76c5e623cd80443c2ad4e4a8c59d543)

Author SHA1 Message Date
Raymond Yee 5596de6de4 update documentation on vagrant ansible. 2017-01-16 17:39:20 -08:00
Raymond Yee 2beb02c3d0 * deleted settings/localvm.py
* add comment about a key in prod
* deleted comment in settings/just.py
2017-01-13 22:37:21 -08:00
Raymond Yee 34804d0ad8 new SSL certificate -- expires Jan 28, 2018 2017-01-11 21:16:54 -08:00
Raymond Yee e7f5bb61e7 * use ENV.fetch to have vagrant fail if certain environment variables are not set.
* reset root password on the Amazon RDS instances for just and prod
2017-01-11 12:20:28 -08:00
Raymond Yee a84e8fb8b6 fix problems for please 2017-01-06 18:35:49 -08:00
Raymond Yee 6f2cad604a cleanup of Vagrantfile and prod.py 2016-12-27 23:37:11 -05:00
Raymond Yee 918e2e3b80 new lower privilege db password 2016-12-27 22:32:37 -05:00
Raymond Yee bff6a6d3ee on just: trying out a non root pw
on please: reset database pw
2016-12-27 21:38:23 -05:00
Raymond Yee ff014b8349 remove remaining django_secret_key.yml 2016-12-26 20:37:04 -05:00
Raymond Yee f1a8709657 need to quote {{user}} 2016-12-21 21:28:46 -06:00
eric 088f08831c move db params to vault 2016-12-21 14:36:06 -05:00
eric 725b37e114 create keys/__init__.py 2016-12-21 12:51:21 -05:00
Raymond Yee f8f05312a5 fix please.py
need to create directory settings/keys
2016-12-20 22:37:17 -06:00
Raymond Yee f82a7c524a Merge branch 'open_source' of github.com:Gluejar/regluit into open_source 2016-12-20 21:57:41 -06:00
Raymond Yee ecaf0d1bfb allow for AWS_KEYPAIR_NAME and SSH_PRIVATE_KEY_PATH to be set via environment variables 2016-12-20 21:53:01 -06:00
eric 7d749f068a revive settings files 2016-12-20 14:55:53 -05:00
Raymond Yee fee324d8ff instructions on using vagrant / ansible 2016-12-19 10:01:51 -08:00
Raymond Yee 1ac55c4f0a reset mobigen username / password 2016-12-17 20:58:36 -08:00
Raymond Yee bb1cd956aa I think I've managed to compile a list of keys to clean up and remove corresponding comments.
Next step is to build please, just, and a version of production to test out.
2016-12-17 18:08:18 -08:00
Raymond Yee 47e18b008d cleaning up comments for just secrets, including comments about old keys 2016-12-17 16:15:15 -08:00
Raymond Yee 6d0ea3db34 move the setup of django_secret_key (aka SECRET_KEY) into the respective secrets.yml instead of using django_secret_key.yml 2016-12-17 14:49:17 -08:00
Raymond Yee d5f7b27f58 cleaning up comments about keys to invalidate in please 2016-12-17 13:59:29 -08:00
Raymond Yee 7ebbc26aef remove comments about old keys in common.py.j2
hack to keep jenkins setup to keep working while the old keys have yet to be invalidated
2016-12-17 12:31:39 -08:00
Raymond Yee 13c9fe9589 move to the standard branches for just and prod 2016-12-13 16:47:17 -08:00
Raymond Yee 9c7dae465d let's try building prod with open_source branch 2016-12-13 14:59:02 -08:00
Raymond Yee 2280e25d85 I think I've moved all the keys for production into prod/secrets.yml 2016-12-13 14:44:32 -08:00
Raymond Yee ab813ab55e place SSL cert (in encrypted form) into repo 2016-12-13 12:58:31 -08:00
Raymond Yee 1259e81385 add .gitattributes to make git-diff work with ansible-vault
invalidated AIzaSyBPZS7D3QvypGN_Tqc3blAXV1iJJJuu4mk
for just GOOGLE_BOOKS_API_KEY #1
2016-12-13 10:58:30 -08:00
Raymond Yee d1d52a8642 in process of replacing GOOGLE_BOOKS_API_KEY for just 2016-12-13 10:32:26 -08:00
Raymond Yee ad86e5ceec I think we have all the secrets now for just in ansible-vault 2016-12-12 19:06:56 -08:00
Raymond Yee 76ae061960 insert secret keys into just.py.j2 and prod.py.j2
update booxstream credentials for prod
2016-12-12 13:56:42 -08:00
Raymond Yee 55426475b4 template in place for common.py.j2 2016-12-09 13:47:03 -08:00
Raymond Yee e6902f51bc ansible playbook to write out settings/common.py for localhost 2016-12-09 10:12:27 -08:00
Raymond Yee 26221c20b7 import os in common.py.j2 2016-12-08 22:08:28 -08:00
Raymond Yee 4033b6f123 first steps to encrypting variables in settngs/common.py 2016-12-08 14:26:59 -08:00
Raymond Yee ac74aababb email credentials for just
fix data loading problem for please
2016-12-07 22:16:47 -08:00
Raymond Yee a5e438de27 replacing please smtp with Amazon SES 2016-12-07 13:49:39 -08:00
Raymond Yee 3c98b1ba5c let's try replace AWS_ACCESS_KEY_ID, etc for please 2016-12-06 15:00:50 -08:00
Raymond Yee c692b6dd0b basic structure for just and please -- though I've not modified templates yet
please GOODREADS keys in place
2016-12-05 15:09:31 -08:00
Raymond Yee 19e630a0fb reset please SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET 2016-12-01 11:15:53 -08:00
Raymond Yee f4aff9053a put host_vars/please/secrets.yml in version control 2016-11-30 14:49:59 -08:00
Raymond Yee fa9aa1801a mostly replace please twitter and facebook settings 2016-11-30 14:48:22 -08:00
Raymond Yee 5d3c749a6a let's try creating settings/please.py with ansible 2016-11-29 16:24:31 -08:00
Raymond Yee cd1f2cc244 attempt to create settings/please.py via template 2016-11-29 15:46:11 -08:00
Raymond Yee 1b2109c57b found a way to loop over SECRET_KEYS in constructing the wsgi file -- need to parameterize the settings file. 2016-11-18 09:37:19 -08:00
Raymond Yee 16c78485ea try to build just and please with a setting coming from secrets.yml 2016-11-16 17:21:22 -08:00
Raymond Yee 2b82c6c786 testing templating 2016-11-15 21:02:36 -08:00
Raymond Yee 9e84a0bae9 for ansible 2.1.2, get rid of redundancy in specifying both pip executable and venv. 2016-11-15 15:37:45 -08:00
Raymond Yee fc4ca7dbc0 refine do_migrate for production in Vagrantfile 2016-09-08 17:52:25 -07:00
Raymond Yee c1c6b5ccbc don't migrate on just or production 2016-09-07 11:46:41 -07:00