This repository was archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
reddit install script for Ubuntu
alastairpat edited this page Nov 15, 2011
·
32 revisions
The reddit install script is a bash script designed for use on Ubuntu Linux. It is designed for 11.04 (Natty Narwhal). The script will install the majority of the reddit stack from scratch. Don't run this on a production system or anything with valuable data.
- Get the latest version of the install script.
- Run the script as root.
$ wget https://raw.github.com/gist/922144/install-reddit.sh
$ chmod +x install-reddit.sh
$ sudo ./install-reddit.shReddit is now available and listening on http://0.0.0.0:8000/, although many of the links will be broken unless you change the domain key in ~/reddit/r2/run.ini to accurately reflect your environment.
To populate the database with test data, including a variety of Accounts, Subreddits, Links and Comments do the following as user reddit.
$ cd ~/reddit/r2
$ paster shell run.ini>>> from r2.models import populatedb
>>> populatedb.populate()This will take a while and spew a lot of trace to the console, but the result is a reddit with plenty of test data.
See FAQ for some common issues.