Get Hyper Active!¶
In order to get the site running, you'll need to download a bunch of stuff. First, you need to have all the right supporting software installed. Then you need to download the Hyperactive code, configure the site to run on your machine, and run it.
The installation docs are written from the standpoint of someone running a Debian GNU/Linux based operating system (such as Debian or Ubuntu). We'd love to have install docs for Red Hat, Mac OS X, or other system types, so if you install it on one of those OSs, please let us know or make a wiki page for it.
Install the necessary packages on a Debian-based system:¶
sudo apt-get install ruby ruby1.8 rdoc rdoc1.8 ri ri1.8 irb irb1.8 ruby1.8-dev build-essential mysql-server libmysql-ruby imagemagick libmagick9-dev libopenssl-ruby git-core ffmpeg ffmpeg2theora bittornado libxapian-ruby1.8 libxapian15 libimage-exiftool-perl jhead libmysqlclient15off libmysqlclient15-dev swftools ghostscript # # previously, the following were suggested as well: # libmysqlclient16 libmysqlclient15-dev
- 1/10/2009 - On Ubuntu 9.04 I had to replace libmagick9-dev with libmagickwand-dev
- On Ubuntu 10.04, replace
libmysqlclient15offwithlibmysqlclient16andlibmysqlclient15-devwithlibmysqlclient16-dev
Install ruby gems:¶
wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz tar -xvzf rubygems-1.3.5.tgz cd rubygems-1.3.5 sudo ruby setup.rb sudo ln -s /usr/bin/gem1.8 /usr/bin/gem cd ..
Download and install necessary rubygems¶
First, set up the gem sources to use. Some gems need specific versions installed, most don't.gem sources -a http://gems.github.com sudo gem install rmagick -v 2.12.2 sudo gem install json -v=1.2.4 sudo gem install rake ruby-debug daemons slave rio simple-rss mysql mongrel echoe will_paginate mini_exiftool Ruby-IRC calendar_date_select subdomain-fu shoulda hpricot quietbacktrace machinist faker acts_as_tree acts_as_list uploadcolumn htmlentities rghost httparty ri_cal
Grab the code¶
git clone git://git.escapegoat.org/hyperactive.git
OR if you can only check out via http due to firewall restrictions:
git clone http://git.escapegoat.org/git/hyperactive.git
If you know that you have commit access to the code, you can get it here:
git clone git@git.escapegoat.org:hyperactive.git
Install the torrent gem from the lib folder¶
sudo gem install hyperactive/lib/transmission-0.1.gem
Development or production?¶
What you do next depends upon whether you are running the code for development or production purposes.
If you just want to play with the code locally, as a development install, you can use the native web server. Follow the instructions for database migration and setup at DevSetUp.
Alternatively, if you are planning on running hyperactive in a production environment, you will need to set it up with Apache or some other webserver; instructions are at SysAdminHome.