I’ve been searching around for the ideal way to develop a discourse site on my laptop (Ubuntu 16.04), but am unsure about the most current best practices. I’m new to Rails and am having trouble figuring out how to setup a local development environment for migration from Drupal, theme development, and plugin development.
Thanks. Do you have a system for truncating (or dropping and resetting) the databases while working? Right now I’m trying to create a bash script that will do it, but I’m not sure if someone has already solved this kind of problem.
Something like this (unfinished, non-working import script):
When I save the “about me” field on my local machine (Ubuntu 16.04), the UI says that it has been saved, but when I do a hard refresh of the page, the text is missing. Is there something else that has to be configured to get it to save that to the database?
Rails 5.1.3
Ruby 2.4.1p111
Postgres 9.5.9
Redis server 3.0.6
I can get to redis from irb. The local site seems to otherwise mostly work.