After reading the docs I realized I wasn’t specifying a container. So if you were to use docker exec to migrate your database, would you just run ‘docker exec rake db:migrate’ or ‘docker exec discourse_dev rake db:migrate’? The second option appears correct from the docker docs, but it says that there was no Rakefile found. Running ‘docker ps’ shows that discourse_dev is the only container I have running. So now I am wondering if ‘d/rake db:migrate’ is running in the discourse_dev container or something else?
drew0101
15
関連トピック
| トピック | 返信 | 表示 | アクティビティ | |
|---|---|---|---|---|
| Issue regarding Docker development image | 25 | 6720 | 2017 年 7 月 27 日 | |
| How to install Discourse locally? | 13 | 17030 | 2022 年 7 月 12 日 | |
| Problems with understanding the development of Discourse | 5 | 1434 | 2021 年 7 月 14 日 | |
| Discourse development installation non-vagrant | 2 | 1124 | 2016 年 5 月 3 日 | |
| Do I need to install Docker? | 1 | 657 | 2019 年 11 月 1 日 |