ActiveRecord::PendingMigrationError
Migrations are pending. To resolve this issue, run:
bin/rails db:migrate
You have 269 pending migrations:
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
and prepared to work out most issues on your own.
Im going to try a VM because its a little less of a pain
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).