diff --git a/.env b/.env new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/.gitignore b/.gitignore index fc640611fc51ca802434de7d3e5780185d450de9..7f1c056f3eddb5989913f0be8cc1c765f7936ace 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ *~ ~* *.pyc +.vagrant diff --git a/Procfile b/Procfile new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Vagrantfile b/Vagrantfile index 62378906d5834d48edc185530a2cb2175c837827..5c548200274d74bb476611c20a59d3ec1436118c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -37,7 +37,8 @@ Vagrant.configure(2) do |config| # the path on the host to the actual folder. The second argument is # the path on the guest to mount the folder. And the optional third # argument is a set of non-required options. - # config.vm.synced_folder "../data", "/vagrant_data" + config.vm.synced_folder ".", "/vagrant", disabled: true + config.vm.synced_folder "./", "/opt/realestate" # Provider-specific configuration so you can fine-tune various # backing providers for Vagrant. These expose provider-specific options. @@ -66,7 +67,7 @@ Vagrant.configure(2) do |config| # documentation for more information about their specific syntax and use. config.vm.provision "shell", inline: <<-SHELL sudo apt-get update - sudo apt-get install -yf python-pip python-dev postgresql postgresql-client python-psycopg2 - sudo pip install django + sudo apt-get install -yf python3-pip python3-dev postgresql postgresql-client python3-psycopg2 + sudo pip3 install -r /opt/realestate/requirements.txt SHELL end diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..f80ddb06f9610bfc251eb0588ddd2320a1417bd1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +Django>=1.8 +gunicorn +honcho