Neil Williams
e70813aba7
Revert "Added check for UTF-8 to make sure postgres creates db"
...
This reverts commit d841be78be .
2013-07-16 16:05:46 -07:00
Chris Lexmond
d841be78be
Added check for UTF-8 to make sure postgres creates db
2013-07-16 10:54:12 -07:00
Chris Lexmond
83d27251c2
Added an additional apt-get to ensure repo records for dependencies are present
2013-07-16 10:54:12 -07:00
Neil Williams
8af415476b
Update and fix license headers for 2013.
...
Angst!
2013-03-19 20:03:40 -07:00
Max Goodman
137c46113b
Add nodejs to install dependencies.
2013-03-01 16:56:32 -08:00
bsimpson63
3d511075a0
Stripe payments for reddit gold.
2013-02-15 14:12:15 -05:00
Neil Williams
afeabf204f
Move consumer count info to individual files.
...
This is more easily composable among multiple puppet recipes etc.
2013-01-22 14:52:31 -08:00
Neil Williams
f4e4ad81e8
install-reddit: Use HTTPS for git clones.
...
For those behind proxies.
2012-11-16 13:02:25 -08:00
Logan Hanks
1468f32a2a
Drop in replacement code for python-statsd.
2012-10-23 14:30:13 -07:00
Neil Williams
e191b3866e
install-reddit: Upgrade to Ubuntu 12.04 LTS (Precise Pangolin)
...
Two packages got renamed:
python-pybabel -> python-babel
python-python-statsd -> python-statsd
2012-10-11 14:36:29 -07:00
Neil Williams
408d53a983
install-reddit: Add python-kazoo dependency.
2012-10-11 14:36:29 -07:00
Neil Williams
4a5f5c7cb5
install-reddit: Make sure to enable the haproxy service.
2012-10-11 14:36:29 -07:00
Neil Williams
c63d336010
install-reddit: Disable consumers that aren't configured by default.
...
cloudsearch_q and scraper_q rely on external services (Amazon
CloudSearch and embed.ly respectively) that must be configured manually
before they will run properly. To avoid a spew of useless error messages
after installation, we'll just set the consumer counts to zero.
2012-10-11 14:36:29 -07:00
Neil Williams
548091fae9
install-reddit: Use template0 for CREATE DATABASE for UTF-8 safety.
...
template0 is the base template that should be immutable, while template1
is the site-customized version. PostgreSQL defaults to using template1
when doing CREATE DATABASE. Unfortunately, in some situations, template1
will have an encoding set that makes it impossible for us to CREATE
the reddit database with UTF-8 encoding.
2012-10-11 14:36:29 -07:00
Neil Williams
e4b827ceee
install-reddit: Fix apt-add-repository wanting user input.
2012-10-11 14:36:29 -07:00
Neil Williams
0c0efaf141
install-reddit: Allow domain to be configured at install time.
...
Automated runs of the installer need to be able to configure the
domain ahead of time to ensure that the site will come up in a valid
state. The install script will now check for an environment variable,
REDDIT_DOMAIN, and use that value if it is present. If not present,
it will default to the previous "reddit.local".
2012-10-11 14:36:29 -07:00
Neil Williams
79446e2f60
query_cache: Clean up cjson remnants.
...
It was removed because it's actually rather buggy.
2012-10-11 14:36:29 -07:00
maxwellhansen
5f6efe5a6e
install-reddit: Replace another instance of old bash redirect syntax.
2012-08-23 12:26:54 -07:00
maxwellhansen
9bfed16203
install-reddit: Use newer bash redirection syntax.
2012-08-14 12:19:38 -07:00
Neil Williams
34e57011b6
install-reddit: Make sure to start Cassandra after install.
...
The reddit PPA version of Cassandra no longer auto-starts on install
because that was really obnoxious in production. We'll have to make
sure to start the service after installing it.
2012-08-06 11:18:35 -07:00
Neil Williams
5887e0898e
install-reddit: Use netcat to determine if services are up.
...
This is more robust than the previous method which slept for 30 seconds
and ended up being simultaneously optimistic and pessimistic.
2012-08-06 11:18:35 -07:00
Neil Williams
1db68ce6b1
Require two-factor authentication to enable admin mode.
...
This feature can be disabled with the new ini setting
`disable_admin_otp`.
2012-07-23 15:59:17 -07:00
Neil Williams
914b949286
Update / add license headers.
...
I'm actually quite excited to do this.
2012-06-19 14:02:42 -07:00
Keith Mitchell
973005d2df
Remove references to deprecated Solr index
2012-06-18 23:37:31 +01:00
Neil Williams
29e579e078
Clean up r2.lib.helpers and remove unused dependency on webhelpers.
2012-06-18 11:54:37 -07:00
Keith Mitchell
6e301e220d
Add l2cs to setup.py
2012-06-14 15:26:06 -07:00
Neil Williams
5545459aab
Add install script.
2012-06-04 10:58:50 -07:00