projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36613df
)
need to migrate test as well
author
Sam
<sam.saffron@gmail.com>
Mon, 12 Dec 2016 06:45:04 +0000
(17:45 +1100)
committer
Sam
<sam.saffron@gmail.com>
Mon, 12 Dec 2016 06:45:04 +0000
(17:45 +1100)
image/discourse_dev/postgres_dev.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/image/discourse_dev/postgres_dev.template.yml
b/image/discourse_dev/postgres_dev.template.yml
index 91d47a5228ec9287e02767be2fa211a0496174ad..58831e859207baf7f773a94541bc065ad9bb1e07 100644
(file)
--- a/
image/discourse_dev/postgres_dev.template.yml
+++ b/
image/discourse_dev/postgres_dev.template.yml
@@
-26,4
+26,5
@@
run:
- exec: cd tmp && git clone https://github.com/discourse/discourse.git --depth=1 && cd /tmp/discourse && sudo -u discourse bundle install
- exec: chown -R discourse /tmp/discourse
- exec: cd /tmp/discourse && sudo -u discourse bundle exec rake db:migrate
+ - exec: cd /tmp/discourse && sudo -u discourse RAILS_ENV=test bundle exec rake db:migrate
- exec: rm -fr /tmp/discourse