Skip to content
Snippets Groups Projects
Commit 47ebdfc5 authored by nimrod's avatar nimrod
Browse files

Add requirements.txt, Procfile and .env.

parent 912f1410
No related branches found
No related tags found
No related merge requests found
.env 0 → 100644
......@@ -3,3 +3,4 @@
*~
~*
*.pyc
.vagrant
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment