-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
81 lines (66 loc) · 2.16 KB
/
INSTALL
File metadata and controls
81 lines (66 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
This is just random commands for now. Eventually it'll be an install guide.
curl http://pylonshq.com/download/1.0/go-pylons.py | python - pylons --no-site-packages
cd pylons
source bin/activate
echo -e "\nTrue" | paster create -t pylons scatterbrainz
cd scatterbrainz
rm -rf scatterbrainz
git clone git@github.com:drassi/scatterbrainz.git
python setup.py develop
easy_install repoze.what-quickstart
easy_install repoze.what-pylons
easy_install mutagen
apt-get install python-dev
easy_install psycopg2
apt-get install libxslt1-dev
pip install lxml
paster setup-app development.ini
paster serve development.ini
cd scatterbrainz/public
ln -s /media/disk/music/Godspeed\ You\ Black\ Emperor\!/ .music
http://localhost:5555/load/load?commit=true
http://localhost:5555/hello/index
config/config.py:
class Config:
LAST_FM_API_KEY = 'asdf'
LAST_FM_API_SECRET = 'asdf'
LAST_FM_USER = 'asdf'
LAST_FM_PASSWORD = 'asdf'
OS X stuff:
go-pylons.py --no-site-packages
export PATH=$PATH:/opt/local/bin/
sudo port install mod_wsgi
sudo apachectl -k start
database stuff
apt-get install postgresql-server-dev-9.0
git clone git://git.musicbrainz.org/musicbrainz-server.git
cd musicbrainz-server/postgresql-unaccent
make
sudo make install
cd ../admin/sql
psql -d musicbrainz -f CreateSearchConfiguration.sql
psql -U musicbrainz -f CreateSearchIndexes.sql
rtorrent:
sudo apt-get install g++ libsigc++-2.0-dev libncurses5-dev libcurl4-openssl-dev subversion
wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.6.tar.gz
wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.6.tar.gz
svn co http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced xmlrpc-c
tar xzfv libtorrent-0.12.6.tar.gz
tar xzfv rtorrent-0.8.6.tar.gz
cd libtorrent-0.12.6
./configure
make
sudo make install
cd ../xmlrpc-c
./configure
make
sudo make install
cd ../rtorrent-0.8.6/
./configure --with-xmlrpc-c=/usr/local/bin/xmlrpc-c-config
make
sudo make install
If you get an error like: libxmlrpc.so.3 not found then add the line: /usr/local/lib to the file /etc/ld.so.conf, and run sudo ldconfig.
sudo apt-get install apache2
sudo apt-get install libapache2-mod-scgi
sudo a2enmod scgi
sudo /etc/init.d/apache2 restart