Forum
The HSBNE Forum is a Discourse instance running on a Nginx, Ubuntu 12.04 Linux stack deployed to a DigitalOcean Droplet via 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 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 VirtualBox dependency, and we also make use of a few plugins. Have a look atbin/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 hittingvagrant 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.
- infrastructure/oldforum
- Last modified: 5 years ago
- (external edit)