WSLでDiscourseをセルフホストするとエラーが表示され、表示されたコマンドも機能しません

ActiveRecord::PendingMigrationError

Migrations are pending. To resolve this issue, run:

bin/rails db:migrate

You have 269 pending migrations:

Hi there, are you running a development or production server here? I assume it’s development?

It’s self hosted, so I’m trying to test discourse out

WSL is not a supported Production configuration (but a great choice for development)

Oh, are there other ways for windows?

Yes, but you’d be mainly on your own with limited support here.

A cloud Ubuntu VPS is the recommended and supported platform.

WSL makes sense if you are a wizard :mage:t3: and prepared to work out most issues on your own.

「いいね!」 2

Im going to try a VM because its a little less of a pain

「いいね!」 1

The cloud VM is if you want to host a production instance. If you want to use WSL for development, follow this guide. If you want to do it for production, then, well, it won’t be easy (and you also won’t want to run your computer 24/7).

Im doing it to goof around with discourse

Im using a VM to do it myself, already found the ip adress (somehow)

Thanks for the help, it was hard to differentiate what was for development or hosting :confused:

P.S: Im slowly getting the hang of it

「いいね!」 1