Commit Graph

100 Commits

Author SHA1 Message Date
Calen Pennington
d8e742b9ee Re-install both xmodule and capa before running local dev server 2012-09-28 10:33:22 -04:00
Calen Pennington
0a55e1eae1 Add sub-environments for the lms that is running alongside the lms for debugging 2012-09-17 13:51:33 -04:00
Calen Pennington
317e2c345e Add autodeploy properties task to rakefile 2012-09-10 11:37:02 -04:00
Calen Pennington
5b7ae1a99b Add more excludes to rakefile 2012-08-22 15:14:25 -04:00
Calen Pennington
445ce72b53 Leave management of services and package installation to puppet 2012-08-17 14:59:11 -04:00
David Ormsbee
689c761bbc Remove comment in Rakefile I was just testing. 2012-08-10 17:07:03 -04:00
David Ormsbee
cbfdf59760 Fix test error regarding UserProfiles (a UserProfile must exist before a CourseEnrollment) 2012-08-10 16:41:46 -04:00
David Ormsbee
172072209f Add common djangoapps to tests run 2012-08-10 10:15:55 -04:00
Calen Pennington
9cba2232d5 Run all tests all the way through before quitting on errors 2012-08-07 13:32:58 -04:00
Calen Pennington
c9e637d719 Make cms and lms tests run independently (they had been colliding on collectstatic) 2012-07-30 12:58:45 -04:00
Victor Shnayder
59defd33b6 Formatting and little bugfixes
* add course and org to full/course.xml
* fix error path in clean_xml script
* commit rakefile change needed by c5334f150c
2012-07-27 16:09:25 -04:00
Calen Pennington
30452d3202 Get pylint running on all modules again 2012-07-23 14:26:16 -04:00
John Jarvis
34a6aa8729 temporary workaround due to root owned files 2012-07-18 17:14:13 -04:00
John Jarvis
5ffafbe190 moving chown after pip install 2012-07-18 13:50:52 -04:00
Victor Shnayder
f8ce11a6b5 Add fixes to notes in #182
* use 'location' instead of 'id' in views.
* still need to change names in the coffeescript--quick fix didn't work
2012-07-16 14:08:03 -04:00
Victor Shnayder
97a2422662 simplify rakefile a bit in response to comments on #178 2012-07-16 13:34:05 -04:00
Victor Shnayder
1f1fab4992 add fasttest rake command
* test_{cms/lms} will run collectstatic first, fasttest_{cms/lms} won't
* also add staticfiles dir to test_root gitignore
2012-07-13 12:07:42 -04:00
Victor Shnayder
339e9a68f4 Make end-to-end tests work again
* NOTE: successfully running the tests depends on an updated version of
  django-pipeline, which fixes a unicode bug (efaba4ac63)

Config changes:
* Use separate db for the cms
* Run collectstatic before running tests--needed to get everything in the right place for loading pages
* fix some paths related to this
* Turn off JS compressor for CMS
* add empty test_root/uploads dir

Code changes:
* Add cms tests to check that home page and signup pages load
* Add cms account creation test
* Make github sync tests clean out repo dirs before running.
2012-07-13 11:51:33 -04:00
ichuang
926fdd010e Merge pull request #173 from MITx/cpennington/pull-155-cleanup
This cleans up remaining issues w/ https://github.com/MITx/mitx/pull/155
2012-07-11 19:34:56 -07:00
Calen Pennington
c7df948030 Run pep8 and pylint per environment 2012-07-11 22:19:34 -04:00
ichuang
41be962d89 Merge pull request #170 from MITx/cpennington/cms-save-performance
This improves the performance of the save to github for the cms
(had some minor requests for clarification, but that's all)
2012-07-11 18:34:09 -07:00
Calen Pennington
58167e1d42 Make django-admin commands clear out pyc files and install the latest xmodule setup.py 2012-07-11 16:22:56 -04:00
David Ormsbee
09efd867c8 Merge pull request #165 from MITx/cpennington/lms-collectstatic
Make collectstatic run to completion
2012-07-11 07:18:41 -07:00
Calen Pennington
100422a7f3 Make collectstatic run to completion 2012-07-11 10:14:51 -04:00
John Jarvis
039cc40598 rakefile updated so that python modules in the package will be installed at package install time 2012-07-11 09:23:20 -04:00
John Jarvis
ec47b72caf updating rakefile so that starting gunicorn is non-fatal 2012-07-10 18:11:29 -04:00
Calen Pennington
a74024687e Make rake clobber remote test_root/*_repo directories that are used and should be cleaned up by tests 2012-07-10 15:03:35 -04:00
Calen Pennington
824f049289 Make packaging task not verbose 2012-07-10 15:00:47 -04:00
ichuang
9b90068e03 Merge branch 'stable-edx4edx' of github.com:MITx/mitx
Conflicts:
	common/lib/xmodule/seq_module.py
	common/lib/xmodule/xmodule/capa_module.py
	lms/djangoapps/courseware/module_render.py
	lms/djangoapps/courseware/views.py
	lms/djangoapps/multicourse/multicourse_settings.py
2012-07-08 16:52:36 -04:00
Calen Pennington
d7178e4a41 Add a set of rake tasks for checking settings importability 2012-07-02 13:26:31 -04:00
John Jarvis
d61d084599 postrm update 2012-06-29 13:33:14 -04:00
John Jarvis
6229b2d1f4 updating rakefile to cleanup on package removal 2012-06-29 13:14:36 -04:00
Calen Pennington
f59951ead5 Run tests before running code quality checks (for faster turnaround time) 2012-06-28 11:51:37 -04:00
Calen Pennington
19044abed2 Run tests before running code quality checks (for faster turnaround time) 2012-06-28 11:29:46 -04:00
Calen Pennington
fedf2c8d00 Merge pull request #150 from MITx/stable-edx4edx-aws
Stable edx4edx aws
2012-06-28 05:39:42 -07:00
John Jarvis
59d0c408f0 collect static resources is now handled by the gunicorn upstart script 2012-06-27 13:12:55 -04:00
Prem Sichanugrist
d9d6f9b749 Introduce rake cms:import task to import data
Usage: `rake cms:import DATA_DIR=<path_to_your_data_dir>`
2012-06-25 16:38:06 -04:00
Calen Pennington
6ce68e19db Make cms start on a different port by default 2012-06-20 11:58:13 -04:00
Calen Pennington
34a696cdf6 Merge branch 'master' into cpennington/cms
Conflicts:
	rakefile
	requirements.txt
2012-06-18 13:46:33 -04:00
Calen Pennington
5404345b1f Make tests pass when running on cms 2012-06-18 13:21:06 -04:00
Calen Pennington
8134bcbc3d Get the cms up to the point of rendering a template 2012-06-08 14:01:41 -04:00
Calen Pennington
d690aebc78 Set up a pylintrc file 2012-06-08 09:08:18 -04:00
Calen Pennington
374ce67e36 Run pep8 and pylint on all libraries, not just the lms 2012-06-07 17:04:57 -04:00
Calen Pennington
1d1af3be74 Move coverage report html into the reports directory 2012-06-07 17:00:03 -04:00
Calen Pennington
92c6f1e63d Add reports for library tests 2012-06-07 16:54:05 -04:00
Calen Pennington
4a0969df9d Move tests for xmodules into the xmodule library, and make them run without django 2012-06-07 10:46:10 -04:00
Calen Pennington
46a1c43c76 Give a general purpose rake command for running django-admin in the right way for either the lms or the cms 2012-06-06 14:41:48 -04:00
Calen Pennington
dc2dc1f0dd Make it possible to run cleanliness stuff on lms 2012-06-06 14:23:09 -04:00
Calen Pennington
5ba03130aa Moving LMS code into subdirectory 2012-06-06 14:09:01 -04:00
Calen Pennington
f467134fc5 Don't fail post-install configuration if gunicorn won't stop 2012-05-31 11:59:14 -04:00