tnc-ba / strongTNC

BYOD TNC Database Management Tool
GNU Affero General Public License v3.0
0 stars 0 forks source link

Create Ansible deployment config for strongTNC #217

Closed dbrgn closed 10 years ago

dbrgn commented 10 years ago

Combine this with Vagrant to provide a working production environment.

This can be used as the basis for deployment documentation and to test new versions of strongTNC before releasing.

Refs #81.

dbrgn commented 10 years ago

OK, we now have a deployment configuration for strongTNC + apache: https://github.com/tnc-ba/stuff/tree/master/Vagrant/StrongTNC

To start a fully configured test VM:

  1. Install vagrant and ansible
  2. cd /path/to/StrongTNC-config
  3. vagrant up

Voilà, after a few minutes you have a system that's up and running. Connect to localhost:8080 to access it.

If internet-related things in the VM are very slow (e.g. installing pip dependencies), change the DNS server in resolv.conf (inside the VM) to something like 8.8.8.8...

Would be great if both @cfaessler and @d22 could test this.