Skip to content

Commit 4e94f5b

Browse files
authored
Add configuration for new project.
1 parent e5aff6f commit 4e94f5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vagrant/Vagrantfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ Vagrant.configure("2") do |config|
99
config.vm.provision "shell", inline: <<-SHELL
1010
apt-get -qqy update
1111
apt-get -qqy upgrade
12-
apt-get -qqy install make python3-pip
13-
apt-get -qqy install postgresql
12+
apt-get -qqy install make python3 python3-pip postgresql python3-psycopg2 zip unzip
1413
pip3 install --upgrade pip
1514
pip3 install flask packaging oauth2client redis passlib flask-httpauth
1615
pip3 install sqlalchemy flask-sqlalchemy psycopg2 bleach
1716
su postgres -c 'createuser -dRS ubuntu'
1817
su ubuntu -c 'createdb'
18+
su ubuntu -c 'createdb news'
1919
su ubuntu -c 'createdb forum'
2020
su ubuntu -c 'psql forum -f /vagrant/forum/forum.sql'
2121

0 commit comments

Comments
 (0)