-
Notifications
You must be signed in to change notification settings - Fork 2
Bootstrap django project that uses django-tastypie restful package and celery background tasks package
License
victorpoluceno/restful_celerty_bootstrap
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
development: install: - virtualenv env --no-site-packages - pip install -r requirements.txt - python manage.py syncdb test: - python manage.py test rest_api run: - python manage.py runserver - python manage.py celeryd -l info -E - python manage.py celerycam --frequency=3.0 tests: install: - sudo apt-get install postgresql - sudo apt-get install libpq-dev - change authentication to trust on postgres user and local connections - sudo service postgresql restart - createuser -U postgres tests - psql -U postgres -c "alter user tests with PASSWORD 'tests';" - createdb -U tests rest_api - virtualenv env --no-site-packages - pip install -r requirements_tests.txt - python manage.py syncdb --settings=settings_tests test: - python manage.py test rest_api --settings=settings_tests run: - python manage.py run_gunicorn --workers=2 --settings=settings_tests --log-level=DEBUG - python manage.py celeryd -l info -E -P eventlet -c 10 --settings_tests - python manage.py celerycam --frequency=3.0 --settings=settings_tests production: - install: - sudo pip install dotcloud - #ADD - #ADD - #ADD testing_load: install: - sudo easy_intall -U ez_setup - sudo easy_intall -U funkload run: - cd rest_api/load_tests - fl-run-test test_name.py - fl-run-bench test_name.py Name.test_name - fl-build-report --html name-bench.xml
About
Bootstrap django project that uses django-tastypie restful package and celery background tasks package
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published