Permalink
Browse files

Update README. Add screenshot

  • Loading branch information...
1 parent 0909de9 commit e9e97a997871bf3bd6c18121defeeaff3ad39d69 @virtix virtix committed Mar 14, 2012
View
@@ -1,12 +1,19 @@
-# CFPB Labs - Transit Subsidy app
+# CFPB Labs - Transit Subsidy web application
+
## Dependencies
- - nose test
+ - [[nose test | http://readthedocs.org/docs/nose/en/latest/ ]]
+ - [[django-nose | https://github.com/jbalogh/django-nose]]
+
## Installation
- - ./manage.py syncdb
- - ./manage.py loaddata tests/fixtures/offices.json
- - ./manage.py loaddata tests/fixtures/transit_modes.json
+ - Clone this repo ```$git clone git://github.cfpb.gov/CFPBLabs/transit_subsidy_os.git```
+ - Edit ```local_settings.py``` and edit the ```APP_ROOT``` property at the top of the
+ file so that it matches your installation path.
+ - Run ```$./manage.py runserver```
+ - Open a web browser to http://localhost:8000/
+ - Log in using ted/ted for username and password
+
## Configuration
View
@@ -4,7 +4,11 @@
from settings import *
from django.conf.urls.defaults import patterns, include, url
-#print sys.argv
+
+#Update this to match your installation location
+APP_ROOT = '/Users/sheltonb/webapps/transit_subsidy_os/'
+
+
if 'test' in sys.argv:
# if 'test' is part of the comman then use sqlite3, else use mysql
@@ -34,7 +38,6 @@
-DEPLOYED = True
DEBUG = True
TEMPLATE_DEBUG = DEBUG
@@ -55,12 +58,10 @@
# Where Django Test finds fixture data
FIXTURE_DIRS = (
- '/home/billy/webapps/transit_subsidy_os/tests/fixtures',
+ APP_ROOT + 'tests/fixtures',
)
INSTALLED_APPS += ('django_nose','tests',)
-# urlpatterns += ( url(r'^mobile/', 'mobile.views.index', ) )
-
@@ -96,7 +97,6 @@
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
#('ps', '/var/www/django/intra/ps/static')
- #'/home/cfpb/william.shelton/webapps/collab/tests/coverage/',
)
# Make this unique, and don't share it with anybody.
@@ -109,7 +109,7 @@
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
#'/var/www/django/intra/templates/',
- '/home/billy/webapps/transit_subsidy_os/templates',
+ APP_ROOT + 'templates',
)
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e9e97a9

Please sign in to comment.