mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 19:14:03 +03:00
Drop support for Vagrantfile
- not much value added - also, in favor of Docker based development environments
This commit is contained in:
parent
ac957cdd1b
commit
b9dbdee99e
22
{{cookiecutter.repo_name}}/Vagrantfile
vendored
22
{{cookiecutter.repo_name}}/Vagrantfile
vendored
|
@ -1,22 +0,0 @@
|
|||
$setup = <<SCRIPT
|
||||
DEBIAN_FRONTEND=noninteractive apt-get update
|
||||
SCRIPT
|
||||
|
||||
$dependencies = <<SCRIPT
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y postgresql libpq-dev
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y python-dev libjpeg-dev zlib1g-dev
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y python-virtualenv virtualenvwrapper
|
||||
SCRIPT
|
||||
|
||||
Vagrant.configure('2') do |config|
|
||||
|
||||
config.vm.box = 'precise64'
|
||||
config.vm.box_url = "http://files.vagrantup.com/" + config.vm.box + ".box"
|
||||
|
||||
config.ssh.forward_agent = true
|
||||
# Forward the dev server port
|
||||
config.vm.network :forwarded_port, host: 8000, guest: 8000
|
||||
|
||||
config.vm.provision "shell", inline: $setup
|
||||
config.vm.provision "shell", inline: $dependencies
|
||||
end
|
Loading…
Reference in New Issue
Block a user