|  | @@ -6164,37 +6164,51 @@ Install some dependencies.
 | 
	
		
			
			| 6164 | 6164 |  apt-get install git-core python python-dev python-lxml python-imaging python-virtualenv python-gst0.10 libjpeg8-dev
 | 
	
		
			
			| 6165 | 6165 |  #+END_SRC
 | 
	
		
			
			| 6166 | 6166 |  
 | 
	
		
			
			| 6167 |  | -Download mediagoblin.
 | 
	
		
			
			|  | 6167 | +Create a user and an installation directory, replacing /mymediagoblinsite/ with the domain name for your mediagoblin site.
 | 
	
		
			
			| 6168 | 6168 |  
 | 
	
		
			
			| 6169 | 6169 |  #+BEGIN_SRC: bash
 | 
	
		
			
			| 6170 |  | -cd /opt
 | 
	
		
			
			| 6171 |  | -git clone git://gitorious.org/mediagoblin/mediagoblin.git mediagoblin
 | 
	
		
			
			| 6172 |  | -cd /opt/mediagoblin
 | 
	
		
			
			| 6173 |  | -git submodule init
 | 
	
		
			
			| 6174 |  | -git submodule update
 | 
	
		
			
			| 6175 |  | -virtualenv .
 | 
	
		
			
			| 6176 |  | -./bin/python setup.py develop
 | 
	
		
			
			|  | 6170 | +export HOSTNAME=mymediagoblinsite
 | 
	
		
			
			|  | 6171 | +adduser mediagoblin
 | 
	
		
			
			| 6177 | 6172 |  #+END_SRC
 | 
	
		
			
			| 6178 | 6173 |  
 | 
	
		
			
			| 6179 |  | -If that fails then just run the same command again (i.e. ./bin/python setup.py develop)
 | 
	
		
			
			| 6180 |  | -
 | 
	
		
			
			| 6181 |  | -TODO: currently there are insurmountable errors here.
 | 
	
		
			
			|  | 6174 | +Give the user a long random password.
 | 
	
		
			
			| 6182 | 6175 |  
 | 
	
		
			
			| 6183 | 6176 |  #+BEGIN_SRC: bash
 | 
	
		
			
			| 6184 |  | -./bin/gmg dbupdate
 | 
	
		
			
			| 6185 |  | -./runtests.sh
 | 
	
		
			
			|  | 6177 | +mkdir -p /srv/$HOSTNAME
 | 
	
		
			
			|  | 6178 | +chown -hR mediagoblin:mediagoblin /srv/$HOSTNAME
 | 
	
		
			
			|  | 6179 | +su - mediagoblin
 | 
	
		
			
			|  | 6180 | +export HOSTNAME=mymediagoblinsite
 | 
	
		
			
			|  | 6181 | +cd /srv/$HOSTNAME
 | 
	
		
			
			|  | 6182 | +git clone git://gitorious.org/mediagoblin/mediagoblin.git
 | 
	
		
			
			|  | 6183 | +cd mediagoblin
 | 
	
		
			
			|  | 6184 | +git submodule init
 | 
	
		
			
			|  | 6185 | +git submodule update
 | 
	
		
			
			|  | 6186 | +virtualenv --system-site-packages .
 | 
	
		
			
			|  | 6187 | +./bin/python setup.py install
 | 
	
		
			
			| 6186 | 6188 |  #+END_SRC
 | 
	
		
			
			| 6187 | 6189 |  
 | 
	
		
			
			| 6188 |  | -Create a mediagoblin directory in which data will be stored.
 | 
	
		
			
			|  | 6190 | +Fails here.  Currently not installable.
 | 
	
		
			
			| 6189 | 6191 |  
 | 
	
		
			
			| 6190 | 6192 |  #+BEGIN_SRC: bash
 | 
	
		
			
			| 6191 |  | -mkdir /var/local/mediagoblin
 | 
	
		
			
			| 6192 |  | -useradd -s /bin/bash -d /var/local/mediagoblin mediagoblin
 | 
	
		
			
			| 6193 |  | -chown -R mediagoblin:mediagoblin /var/local/mediagoblin
 | 
	
		
			
			|  | 6193 | +Installed /srv/goblin.uk.to/mediagoblin/lib/python2.7/site-packages/sqlalchemy_migrate-0.9-py2.7.egg
 | 
	
		
			
			|  | 6194 | +Searching for sqlalchemy>0.8.0,<0.9.0
 | 
	
		
			
			|  | 6195 | +Reading http://pypi.python.org/simple/sqlalchemy/
 | 
	
		
			
			|  | 6196 | +Best match: SQLAlchemy 0.8.6
 | 
	
		
			
			|  | 6197 | +Downloading https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.8.6.tar.gz#md5=fe8766d913c1d0eb5c353650f11de624
 | 
	
		
			
			|  | 6198 | +Processing SQLAlchemy-0.8.6.tar.gz
 | 
	
		
			
			|  | 6199 | +Running SQLAlchemy-0.8.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8HHH59/SQLAlchemy-0.8.6/egg-dist-tmp-Zy3CXP
 | 
	
		
			
			|  | 6200 | +/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite'
 | 
	
		
			
			|  | 6201 | +  warnings.warn(msg)
 | 
	
		
			
			|  | 6202 | +/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'features'
 | 
	
		
			
			|  | 6203 | +  warnings.warn(msg)
 | 
	
		
			
			|  | 6204 | +/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'tests_require'
 | 
	
		
			
			|  | 6205 | +  warnings.warn(msg)
 | 
	
		
			
			| 6194 | 6206 |  #+END_SRC
 | 
	
		
			
			| 6195 | 6207 |  
 | 
	
		
			
			|  | 6208 | +http://mediagoblin.readthedocs.org/en/latest/siteadmin/deploying.html
 | 
	
		
			
			| 6196 | 6209 |  https://wiki.mediagoblin.org/HackingHowto
 | 
	
		
			
			| 6197 | 6210 |  https://github.com/joar/mediagoblin-init-scripts
 | 
	
		
			
			|  | 6211 | +https://wiki.mediagoblin.org/Deployment#Apache_2_Config_With_mod_wsgi
 | 
	
		
			
			| 6198 | 6212 |  
 | 
	
		
			
			| 6199 | 6213 |  ** Kune
 | 
	
		
			
			| 6200 | 6214 |  Kune is a collaboration tool aimed at not just socialising but also getting stuff done within a community.  It's based upon Apache Wave (formerly Google Wave).
 |