There was an error while loading. Please reload this page.
1 parent e5aff6f commit 4e94f5bCopy full SHA for 4e94f5b
vagrant/Vagrantfile
@@ -9,13 +9,13 @@ Vagrant.configure("2") do |config|
9
config.vm.provision "shell", inline: <<-SHELL
10
apt-get -qqy update
11
apt-get -qqy upgrade
12
- apt-get -qqy install make python3-pip
13
- apt-get -qqy install postgresql
+ apt-get -qqy install make python3 python3-pip postgresql python3-psycopg2 zip unzip
14
pip3 install --upgrade pip
15
pip3 install flask packaging oauth2client redis passlib flask-httpauth
16
pip3 install sqlalchemy flask-sqlalchemy psycopg2 bleach
17
su postgres -c 'createuser -dRS ubuntu'
18
su ubuntu -c 'createdb'
+ su ubuntu -c 'createdb news'
19
su ubuntu -c 'createdb forum'
20
su ubuntu -c 'psql forum -f /vagrant/forum/forum.sql'
21
0 commit comments