David Winterbottom
b91b9e892b
Ensure testing deps don't clobber package ones
Installing the requirements.txt after running 'setup.py develop' can
cause problems as it doesn't respect the version ranges from setup.py.
This was picked up by Hudson which was installing Django==1.5 when
upgrading django-nose.
This is addresses by:
* Adding Django to requirements.txt
* Running 'setup.py develop' AFTER installing requirements.txt
13 years ago
David Winterbottom
506a7bfbd6
Modify 'travis' make target to build sandbox
Pulling this out of .travis.yaml as it was causing problems with the
django version testing and didn't seem to be the documented way of using
the 'env' setting.
Reworks a commit from #578
13 years ago
David Winterbottom
58144f69c3
Simplify i18n target in makefile
13 years ago
David Winterbottom
cbd91c56b1
Load sample offers as part of sandbox build
13 years ago
David Winterbottom
66aeb2bd29
Add ranges fixture
Was getting pretty bored of creating one everytime I want to test the
offers dashboard.
Fixture is loaded as part of 'make sandbox|demo' targets.
13 years ago
Maik Hoepfel
f717052f99
Test against multiple Django versions
Adds support for tox to test locally.
Adds support for Travis.
13 years ago
David Winterbottom
9f01d9dcbf
Add make target for generating CSS from LESS files
Seems nicer than the generate_css.sh script there before.
13 years ago
David Winterbottom
c78c0ba7ef
Add Transifex helper make command
13 years ago
Sebastian Vetter
5b579e4e68
Add slovakian locale to Makefile
13 years ago
David Winterbottom
f8b4f70ac2
Installation target now upgrades packages
13 years ago
David Winterbottom
fe13e4a080
Make coverage ignore errors
It seems to get confused by .pyc files.
The project author sanctions this work-around:
http://stackoverflow.com/questions/2386975/no-source-for-code-message-in-coverage-py
13 years ago
David Winterbottom
b6674d2e53
Upgrade development packages
'yolk -U' is very useful...
13 years ago
endgame
f5b0e7da23
Makefile: Simplify calls to rm.
13 years ago
David Winterbottom
a08288f647
Add MakeFile target for creating demo site
13 years ago
David Winterbottom
9c2ba896d5
Add Apache support to Vagrant machine
13 years ago
David Winterbottom
c08e634bc9
Add MySQL support to Vagrant machine
13 years ago
David Winterbottom
5ee2541bc7
Add Postgres support to Vagrant machine
13 years ago
David Winterbottom
3fca12761a
Add Vagrant machine
* Remove accidentally commmitted module code
* Adjust gitignore files
* Add MakeFile target for pulling down puppet modules
* Add settings file for MySQL/Postgres
13 years ago
David Winterbottom
cb09452f50
Fix issue in makefile around removing database file
When DB didn't exist, the rm line would exit 1 causing make to bail out.
Using 'true' solves this although I'm sure there's a better way of doing
this. It's good enough for now.
13 years ago
David Winterbottom
4d2732d086
Add lint step to travis
This is to ensure that pull requests fail when they don't obey pep8
enough.
13 years ago
David Winterbottom
0555e703e3
More pylint fixes
13 years ago
David Winterbottom
60c2c6cbb6
PEP8 fixes
13 years ago
David Winterbottom
60bd8dc1b0
Add coverage xml to CI output
13 years ago
David Winterbottom
0d6f9be8e6
Improved sandbox creation using makefile
Remove old recreatedb script in favour of using the makefile.
13 years ago
David Winterbottom
59b25d5f25
Extend 'sandbox' make target to build search index
13 years ago
David Winterbottom
53fcdfbe70
Move fixtures and data to better location
Update makefile and docs to reflect this change.
13 years ago
David Winterbottom
0a27d9ccfe
Add demo site
Example sites now sit in their own folder (sites) for easier
organisation.
13 years ago
David Winterbottom
a649cb6a7d
Add --with-xunit to nose test runner for CI
13 years ago
David Winterbottom
c97d6f5b06
Update makefile to use flake8 instead of pyflakes
13 years ago
David Winterbottom
4a9f0019c8
Update makefile and test runner for CI
13 years ago
David Winterbottom
591d950bd5
Fixed the 'contribute' makefile target.
This makes it much easier to get started when contributing. The docs
are also updated.
13 years ago
David Winterbottom
f0a9b2851c
Fixed the 'contribute' makefile target.
This makes it much easier to get started when contributing. The docs
are also updated.
13 years ago
David Winterbottom
34ff704a80
Added trivial makefile
13 years ago
David Winterbottom
21d40388e0
First version of makefile
13 years ago