Skip to content

Commit a46bc35

Browse files
committed
[refactor/rename-vagrant-db-user] rename 'vagrant' db user to 'openlibrary'
1 parent 6c5daa6 commit a46bc35

3 files changed

Lines changed: 364 additions & 366 deletions

File tree

docker/Dockerfile.oldev

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ WORKDIR /openlibrary
55
USER openlibrary
66

77
# Setup db
8-
# Replace user in dev db dump
9-
RUN sed -i 's/vagrant/openlibrary/g' scripts/dev-instance/dev_db.pg_dump
108
USER postgres
119
RUN /etc/init.d/postgresql start \
1210
&& createuser -s openlibrary \
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
22

3-
OL_USER=vagrant
3+
OL_USER=openlibrary
44

55
pg_dump -U $OL_USER openlibrary

0 commit comments

Comments
 (0)