File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ echo export EDITOR=vim >> $HOME/.bashrc
9
9
echo " listen_addresses = '*'" | tee -a /var/pgsql/data/postgresql.conf
10
10
echo host all all 0.0.0.0/0 trust | tee -a /var/pgsql/data/pg_hba.conf
11
11
sudo su postgres -c ' pg_ctl stop -D /var/pgsql/data 2>&1'
12
- sudo su postgres -c ' pg_ctl restart -D /var/pgsql/data 2>&1 &'
12
+ sudo su postgres -c ' pg_ctl start -D /var/pgsql/data 2>&1 &'
13
13
su -c " source /home/vagrant/web/vagrant/user-config.sh" vagrant
Original file line number Diff line number Diff line change @@ -27,6 +27,13 @@ bundle install
27
27
# Setup .env
28
28
cp .env.example .env -n
29
29
30
+ sudo su postgres -c ' pg_ctl stop -D /var/pgsql/data 2>&1'
31
+ sudo su postgres -c ' pg_ctl start -D /var/pgsql/data 2>&1 &'
32
+
33
+ export DEV_POSTGRES_PORT=5432
34
+ export REDIS_URL=redis://127.0.0.1:6379
35
+
36
+ bundle exec rake db:drop:all
30
37
bundle exec rake db:create:all
31
38
bundle exec rake db:setup
32
39
bundle exec rake db:test:prepare
You can’t perform that action at this time.
0 commit comments