Differences

This shows you the differences between two versions of the page.

Link to this comparison view

infrastructure:oldforum [2020/02/06 20:16]
infrastructure:oldforum [2020/04/11 12:01] (current)
Line 1: Line 1:
 +===== Forum =====
  
 +The HSBNE Forum is a [[https://​discourse.org|Discourse]] instance running on a [[http://​nginx.org/​en/​|Nginx]],​ [[http://​www.ubuntu.com/​|Ubuntu 12.04 Linux]] stack deployed to a [[http://​digitalocean.com/​|DigitalOcean Droplet]] via [[http://​www.ansibleworks.com/​|Ansible]].
 +
 +===== Hosts =====
 +
 +forum.hsbne.org is a vhost for do1.hsbne.org
 +
 +===== Repositories =====
 +
 +  * Server Deployment https://​github.com/​HSBNE/​DigitalOcean01
 +
 +===== Implementation Notes =====
 +
 +The deployment handles installing the environment for Discourse, as well as implementing some basic level customisations such as logos, images, icons, and basic configuration database values. Ie, it fills enough settings that when you spin up an instance, it will no prompt you for further configuration.
 +
 +This deployment is developed and tested via [[http://​vagrantup.com|Vagrant]]. You can spin up your own copy of this server ( keeping in mind the Server Deployment repository also deploys a wiki instance etc ) by cloning and running ''​%%vagrant up%%''​.
 +
 +> Vagrant has a [[https://​www.virtualbox.org/​|VirtualBox]] dependency, and we also make use of a few plugins. Have a look at ''​%%bin/​install-deps%%''​ to find them, or execute that script if you trust me :)
 +
 +> NB: ''​%%vagrant up%%''​ seems to be a touch... touchy at the moment. running it a few times and hitting ''​%%vagrant provision%%''​ seems to clear the bugbears. Not sure whats up.
 +
 +By default, it creates an admin under my email. Edit ''​%%roles/​discourse/​templates/​initialize.rb.j2%%''​ to utilise your own.
 +
 +Further forum customisation is Database specific, and the database is persistent between idempotent Ansible deployments.
 +
 +===== Contributing =====
 +
 +  - Fork and Clone the Repo
 +  - Make your changes
 +  - Test changes utilising vagrant
 +  - Once happy, commit and push
 +  - Create a pull request detailing the change
 +
 +Deployment to the production server is limited to those whom hold the correct ssh keys and ''​%%credentials%%''​ folder in the Repository. Thats currently just me (Joshua Hogendorn) but may expand.