# Installa Discourse per lo sviluppo usando Docker

**URL:** https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009
**Category:** Developer Guides
**Tags:** docker, dev-install, how-to
**Created:** [16 Novembre 2018, 9:40am UTC](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009 "2018-11-16T09:40:04Z")
**Posts on this page:** 1
**Showing post:** 141

<div class="post-metadata">

### Author: ![seanblue](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@seanblue](https://meta.discourse.org/u/seanblue)
#### Post date: [18 Gennaio 2021, 2:29pm UTC](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009/141 "2021-01-18T14:29:16Z")

</div>

Sono riuscito a far funzionare di nuovo il mio ambiente eliminando `data` e riavviando l’inizializzazione, quindi ora posso usare l’app incluso il plugin che stavo testando. Tuttavia, ricevo un errore quando eseguo i test sul mio plugin e su un altro plugin che ho provato per assicurarmi che non fosse solo un problema mio. Ho creato un argomento separato a riguardo, ma non sono sicuro che sia correlato alla mia configurazione Docker, quindi volevo pubblicarlo anche qui.

> [@Plugin tests fail with "undefined method \`test\_transaction='"](https://meta.discourse.org/t/plugin-tests-fail-with-undefined-method-test-transaction/176292):
>
> I built [a plugin](https://github.com/seanblue/discourse-ruby) last year and wanted to verify that it still works on the latest version of Discourse. After reinitializing my dev environment (I had DB migration issues) I was able to manually verify that the plugin still works. However, when I run my [spec tests](https://github.com/seanblue/discourse-ruby/blob/master/spec/markdown_ruby_spec.rb) (which passed last year when I wrote them), I get the following error: Failure/Error: DB.test\_transaction = ActiveRecord::Base.connection.current\_transaction NoMethodError: undefined method `test\_transaction=' for…

---

_[View the full topic](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009)._
