Commit Graph

46 Commits (075c2d77341b8654c2058cd5f16c7c3fe0a362a6)

Author SHA1 Message Date
Raymond Yee 335219c0c3 added missing quotes for dev.yml 2017-03-21 11:10:31 -07:00
Raymond Yee 23c99a2c68 generate please.conf from template 2017-03-21 11:10:30 -07:00
Raymond Yee 5da956a06b in progress: working on changes needed for please 2017-03-21 11:10:30 -07:00
Raymond Yee a84e8fb8b6 fix problems for please 2017-01-06 18:35:49 -08:00
Raymond Yee f1a8709657 need to quote {{user}} 2016-12-21 21:28:46 -06: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
eric 7d749f068a revive settings files 2016-12-20 14:55:53 -05: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 ab813ab55e place SSL cert (in encrypted form) into repo 2016-12-13 12:58:31 -08:00
Raymond Yee 4033b6f123 first steps to encrypting variables in settngs/common.py 2016-12-08 14:26:59 -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 5d3c749a6a let's try creating settings/please.py with ansible 2016-11-29 16:24:31 -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 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 8aceb005c9 integrate vagrant changes for building please into dj18 2016-09-07 10:45:53 -07:00
Raymond Yee aaf9bf39f0 I think this is right now: set the ownership of /var/log/regluit to {{user}}
working for now...
2016-06-25 10:07:31 -07:00
Raymond Yee 6be6449780 set gid to www-data for /var/log/regluit 2016-06-25 09:16:10 -07:00
Raymond Yee aeb42c3142 for some reason, the previous commit makes for zombie apache...let's set /var/log/regluit to belong to www-data 2016-06-25 08:55:02 -07:00
Raymond Yee cd6be7a137 adjust relationship between {{user}} and www-data to hopefully fix permission issue for /var/log/regluit 2016-06-25 08:08:30 -07:00
Raymond Yee bb5d90c983 make use of www-data user, group for /var/log/regluit 2016-06-24 16:21:14 -07:00
Raymond Yee d7575455cd fix owner on /var/log/regluit 2016-06-24 15:32:11 -07:00
Raymond Yee 73d107afa4 now let's see whether we can get the logging working now
Merge branch 'nosudo_celery' into log_warnings
2016-06-23 13:54:50 -07:00
Raymond Yee f3647da90e fix syntax for celeryd_multi 2016-06-23 13:52:29 -07:00
Raymond Yee 32503802a2 celery multi not seeing Django config --> replace with django-admin.py celeryd_multi restart w1 2016-06-23 10:48:43 -07:00
Raymond Yee eb403ecad3 comment out pause statements on dev.yml 2016-06-23 06:25:52 -07:00
Raymond Yee f8411fe310 escape % in crontab and dev.yml 2016-06-22 15:55:42 -07:00
Raymond Yee b840845335 don't do sudo on crontab 2016-06-22 14:26:38 -07:00
Raymond Yee 06e4725cac remove some unnecessary sudo 2016-06-22 13:46:59 -07:00
Raymond Yee d36d5e6f9b syntax error on copying /opt/regluit/deploy/celeryd 2016-06-22 11:54:28 -07:00
Raymond Yee 8943bf27bc debugging setup of celery 2016-06-22 11:42:22 -07:00
Raymond Yee cb010751e5 need to turn off sudo for celery multi 2016-06-21 20:31:45 -07:00
Raymond Yee ac8dd6b20a I made mistakes on need of sudo for copying celerybeat related files 2016-06-21 20:10:40 -07:00
Raymond Yee f1ace96371 attempt to run celery without sudo 2016-06-21 19:49:50 -07:00
Raymond Yee 48b1a9a9e9 Merge branch 'sysadmin' into log_warnings 2016-06-21 11:29:36 -07:00
Raymond Yee 7b73cc366d adjust Vagrant configuration for please to log warnings 2016-06-21 09:20:46 -07:00
Raymond Yee b7c44190be don't chmod +x on dump.sh if class not in production 2016-05-13 15:17:16 -07:00
Raymond Yee be232224ab sudo: no for many commands -- especially in collectstatic -- and chmod +x to dump.sh 2016-05-12 11:54:02 -07:00
Raymond Yee a6f7418f19 grab auth tokens from local deploy_keys directory 2016-05-10 17:52:49 -07:00
Raymond Yee 17178f9840 update to Python 2.7.11 and apply security upgrades 2016-05-09 22:40:29 -07:00
Raymond Yee 3f9a7b15e5 define migrate 2016-05-09 14:26:24 -07:00
Raymond Yee 8211e5d3af first pass at getting vagrant/ansible working for prod 2016-05-09 14:11:49 -07:00
Raymond Yee d67c1f1d3e load data for please but deal with jenkins for just 2016-05-07 13:41:47 -07:00
Raymond Yee 6dc511a754 pick up changes from dj16ry that aren't about the shift to Django 1.6 2016-05-07 09:42:14 -07:00