How to install Wordpress and Discourse together? (Ubuntu)

I run a Wordpress site and a Discourse instance off the same droplet and used this guide. Worked well for me.

https://blog.khophi.co/install-run-discourse-behind-nginx-right-way-first-time/