Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
added local_settings sample
Browse files Browse the repository at this point in the history
updated readme
bumped version number
  • Loading branch information
Wil Linssen committed Mar 20, 2012
1 parent f4423e0 commit cd551d3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.markdown
@@ -1,6 +1,6 @@
# Gridpak

Version: 0.2.1b
Version: 0.2.5b

## The easy way to produce customisable Responsive layouts

Expand Down Expand Up @@ -29,6 +29,7 @@ We prefer to run our Django projects using [virtualenv][], and while we won't go
1. Start a new virtual environment `virtualenv --distribute env`
1. Activate that virtual environment `source env/bin/activate` you should then see that you're in the `env` environent in your bash
1. Install all the requisit packages `pip install -r gridpak/packages`
1. Create a `local_settings.py` file (you can copy the `local_settings.sample.txt` and it should work fine)
1. Compile the [LESS][] file so you don't get an error about not being able to find the layout stylesheets
1. You should now be able to run the app `cd gridpak && python manage.py runserver`
1. Visit the url in your browser (`http://localhost:8000` by default,) and you're away
Expand Down
24 changes: 24 additions & 0 deletions local_settings.sample.txt
@@ -0,0 +1,24 @@
import os

DEBUG = True
TEMPLATE_DEBUG = DEBUG

CUR_DIR = os.getcwd()

TEMPLATE_DIRS = (
CUR_DIR + '/templates/',
)

# STATIC_ROOT not required for development
STATIC_ROOT = CUR_DIR + '/static_collected/'
COMPRESS_ROOT = STATIC_ROOT
STATIC_URL = '/static/'
STATICFILES_DIRS = (
CUR_DIR + '/static/',
)

MEDIA_URL = '/media/'
MEDIA_ROOT = CUR_DIR + '/media/'

COMPRESS = False
COMPRESS_ENABLED = False
2 changes: 1 addition & 1 deletion static/js/gridpak.js
@@ -1,5 +1,5 @@
/*!
* Gridpak v0.2.3b
* Gridpak v0.2.5b
* http://gridpak.com/
*
* Copyright 2011, Erskine Design
Expand Down

0 comments on commit cd551d3

Please sign in to comment.