Class: Polyspec::DjangoProjectRunner

Inherits:
TestSetupRunner show all
Defined in:
lib/polyspec/django_project_runner.rb

Constant Summary

Constants inherited from TestSetupRunner

TestSetupRunner::DEFAULT_WAIT_CHECK, TestSetupRunner::DEFAULT_WAIT_TRIES

Instance Attribute Summary

Attributes inherited from TestSetupRunner

#build_command, #check_url, #pid, #port, #stop_command, #wait_check, #wait_tries

Instance Method Summary collapse

Methods inherited from TestSetupRunner

#cleanup, from_args, #start, #stop

Instance Method Details

#buildObject



3
4
5
# File 'lib/polyspec/django_project_runner.rb', line 3

def build
  # NOOP
end

#start_commandObject



7
8
9
10
# File 'lib/polyspec/django_project_runner.rb', line 7

def start_command
  puts "Starting on #{port}"
  "python manage.py runserver #{port}"
end