What is the latest recommended workflow for local development? (Ubuntu 16.04)

Right. You want the Beginners Guide to Install Discourse on Ubuntu for Development

I’ve been doing this a year and I mostly don’t know. Here are some things I recommend:

  • Always work on a branch
  • git pull upstream master to re-sync with, uh, upstream

Oh. Perhaps this is what you want to know: To sync with production you make plugins. Create a repo for each and symlink it to the plugins directory.

You don’t ever, ever, ever, run your forked code in development.

4 Likes