Commit Graph

1773 Commits

Author SHA1 Message Date
Dorian 15fb447d59 Stylistic fix to adhere to PEP8 and have an overall consistent style. 2014-12-11 08:51:45 -05:00
Dorian 15a366739c Add environment configuration via flask_appconfig to make rookeries easier to configure as 12 Factor webapp. 2014-12-11 08:49:07 -05:00
Dorian 57cf6c2e67 Add better logging for supervisord managed processes. 2014-12-04 08:12:24 -05:00
Dorian 13d3e563a0 Remove Vagrant ssh task, because going through invoke's pty is awful.
Make permissions on nginx configurations and logs more permissive.
2014-12-04 07:50:50 -05:00
Dorian 6df32f539e Heavily rework Ansible playbooks to use deb install supervisor.
Also changes to locations of logs, configurations and virtualenvs.
2014-12-03 22:09:38 -05:00
Dorian 162c0c5090 Migrate server tasks into separate tasks module. 2014-11-28 08:22:18 -05:00
Dorian e92b95cd27 Update nginx configuration to use a _nginx suffix for configuration files.
Remove pip packaging git ignores.
2014-11-28 07:48:15 -05:00
Dorian f4fc4ef730 Update nginx configuration to use a _nginx suffix for configuration files.
Remove pip packaging git ignores.
2014-11-28 07:48:15 -05:00
Dorian 9bc435e97c Add separate ansible playbook for setting up webapp folders.
Add logging configuration for rookeries.
2014-11-26 22:04:01 -05:00
Dorian 080f7f5876 Migrate package deployment to use plain old tar ball over pip.
Fix up UWSGI configs for setup.
Add fix for nodejs.
Refactor clean utilities into a separate module.
Remove setuptools artifacts.
2014-11-25 23:08:21 -05:00
Dorian 9c858888ad Remove unused tox package. 2014-11-25 17:36:39 -05:00
Dorian aac0256128 Fix up nginx configuration.
Remove Fabric remains.
2014-11-24 08:07:24 -05:00
Dorian 1f64f0d7db Setup working configuration and setup for supervisord.
Need to fix up deployment itself.
2014-11-21 23:09:42 -05:00
Dorian 77f238fce1 Rename deploy to group related vagrant tasks.
Add more broken apart vagrant tasks, for more control over deployment.
2014-11-21 11:18:05 -05:00
Dorian 953a561cd0 Add configuration folder setup for uwsgi and supervisor.
Add convenience task for vagrant ssh.
2014-11-20 18:05:34 -05:00
Dorian 16ea50109b Setup supervisor to manage uwsgi + mailsink servers.
Use service command directly in controlling NGINX.
2014-11-20 08:09:15 -05:00
Dorian 1f29e17827 Migrate deployment to use Ansible playbooks.
Remove unneeded Fabric tasks + configurations.
2014-11-19 19:20:27 -05:00
Dorian 0928b1999e Setup and pre-deployment Ansible playbook.
Fix deploy to vagrant tasks.
Move configuration files around for Ansible.
2014-11-19 16:27:37 -05:00
Dorian 5df001f834 Reorganize configurations for playbook.
Break up playbooks into simpler modular playbooks.
2014-11-18 08:24:39 -05:00
Dorian 428ec3ba44 Add echoes to invoke runned tasks. 2014-11-17 18:08:16 -05:00
Dorian 7100d90c56 Setup simple pre-deployment tasks via ansible-vagrant and invoke task.
Add context manager for changing directories when running invoke tasks.
2014-11-17 18:02:55 -05:00
Dorian 5163b024ac Setup simple pre-deployment tasks via ansible-vagrant and invoke task.
Add context manager for changing directories when running invoke tasks.
2014-11-17 18:02:55 -05:00
Dorian 0064f0017a Add dev dependency on ansible-vagrant.
Move deployment task up out of a package.
Move all vagrant specific configuration into vagrant + ansible controlled directories.
2014-11-14 08:24:09 -05:00
Dorian 9834afd570 Add invoke task for starting up vagrant box.
Renamed modules to avoid namespace clashes.
2014-11-14 08:07:22 -05:00
Dorian 4f0e498a92 Start of migration to ansible powered deployment. 2014-11-12 20:52:28 -05:00
Dorian 14c9ca31cb Migrate to using Flask-SQLAlchemy over self-rolled setup. 2014-11-12 18:12:34 -05:00
Dorian 322577ff73 Move to using a Blueprint for Rookeries. 2014-11-12 08:17:24 -05:00
Dorian 970d66d9b6 Separate tasks out into separate modules.
Add pathlib dependency to simplify paths.
2014-11-11 07:59:55 -05:00
Dorian 4c1a36cff0 Migrate app packaging helper into an invoke function.
Add packaging folders to gitignore.
2014-11-10 07:31:43 -05:00
Dorian 85af959833 Migrate app packaging helper into an invoke function.
Add packaging folders to gitignore.
2014-11-10 07:31:43 -05:00
Dorian 26840454e9 Separate invoke task and deployment functionality into a separate tasks module.
Separate task tests from main rookeries tests.
2014-11-08 15:03:53 -05:00
Dorian ee56024ed9 Add support for getting generated package name for deployment.
Add header comment to tests.
2014-11-07 18:08:07 -05:00
Dorian c745aba8ac Migrate toward using a more structure setup for deployments. 2014-11-06 07:25:43 -05:00
Dorian 2dada12f38 Add rudimentary test package task. 2014-11-03 07:46:24 -05:00
Dorian 4c4d4cb305 Add rudimentary test package task. 2014-11-03 07:46:24 -05:00
Dorian 0ead5bc73c Add app status endpoint.
Improve server unit tests.
2014-10-31 08:09:15 -04:00
Dorian 2c5d0ee54b Add JSDocs to all coffeescript modules.
Fix up karma and protractor modules.
2014-10-30 08:07:44 -04:00
Dorian 9794f2d504 Add JSDocs to all coffeescript modules.
Fix up karma and protractor modules.
2014-10-30 08:07:44 -04:00
Dorian 904bbab1a3 Setup of protractor tests.
Organization of client tests.
2014-10-29 23:22:10 -04:00
Dorian c72c29cf08 Setup of protractor tests.
Organization of client tests.
2014-10-29 23:22:10 -04:00
Dorian 8cd59f3bd1 Add unit test coverage for switch theme controller.
Improve code for handling out of bounds theme indexes.
2014-10-29 07:56:51 -04:00
Dorian 4e886a6955 Add unit test coverage for switch theme controller.
Improve code for handling out of bounds theme indexes.
2014-10-29 07:56:51 -04:00
Dorian e5f4eca3a6 Remove comment and "fix" injection of controller into client unit test. 2014-10-28 09:32:59 -04:00
Dorian bf6a0454b4 Remove comment and "fix" injection of controller into client unit test. 2014-10-28 09:32:59 -04:00
Dorian d442305c9e Add tests for switching themes client controller.
Test does not perform exactly as expected.
2014-10-28 07:28:44 -04:00
Dorian 73b18bfec8 Add tests for switching themes client controller.
Test does not perform exactly as expected.
2014-10-28 07:28:44 -04:00
Dorian f187b2345e Add Chai for assertion library.
Create first working test of AngularJS controller.
2014-10-27 09:20:53 -04:00
Dorian 2c2389c355 Add Chai for assertion library.
Create first working test of AngularJS controller.
2014-10-27 09:20:53 -04:00
Dorian f6d6f4dd50 Initial setup for a AngularJS unit test. 2014-10-24 11:55:14 -04:00
Dorian b6121b72df Initial setup for a AngularJS unit test. 2014-10-24 11:55:14 -04:00