GNOME GIT source code repository

summaryrefslogtreecommitdiff
path: root/INSTALL (plain)
blob: 85dbfebda479ada8ec8f7c22e01a4c8e91cb211d
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
Running Snowy From Your Git Checkout
--
0. Install python-libxslt, python-libxml2, python-pytz, and python-sqlite,
   python-dateutil, python-pkg-resources, python-uuid
   (package names somewhat different from distro to distro).

   Package names for RedHat/CentOS 5.3:

   python-lxml, python-tz, python-sqlite2, python-dateutil, python-setuptools,
   python-uuid, python-simplejson

1. Install django 1.1. If your distro does not have packages for 1.1, then
   download the tarball and install it like so:
	wget http://www.djangoproject.com/download/1.1/tarball/
	tar zxvf Django-1.1.tar.gz
	cd Django-1.1
	sudo python setup.py install

2. Set up your local settings file (in your snowy git checkout):
	cp local_settings.py.in local_settings.py

3. Setup snowy database (in your snowy git checkout):
	python manage.py syncdb

	NOTE: Don't name your admin user 'admin'

4. Start local snowy (in your snowy git checkout):
	python manage.py runserver

5. Admin your snowy:
	http://localhost:8000/admin

	- In the Sites table, make sure to set the domain and name properly, e.g.:

		Domain name:  localhost:8000
		Display name: Snowy

	- In the Consumers table, make sure the 'anyone' consumer is set up:

	        Key: anyone
		Secret: anyone
		Status: Accepted

6. Play with snowy:
	http://localhost:8000/myusername/notes (for example)


Installing/Deploying Snowy
--
TODO