You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Torque itself is not actually part of this development environment. It's used in it, but only in the sense that ansible downloads it and sets it up in competitions.
We may want to do something like what we do with SimpleBook, where we run the Ansible scripts which would be used to power production, but ultimately delete the "ansible checked out" copy on the guest machine and replace it with a mounted copy.
If / when we do this we would want to consider wrapping torque in gunicorn similar to how we do on SimpleBook. This lets us do things like trivially restart torque when code changes.
The text was updated successfully, but these errors were encountered:
Be aware that now torque spawns a background thread that does cache rebuilding (in the postgres branch, which will get merged to main probably before this is handled). Whatever you end up doing, make sure that you are restarting the whole service on code changes. The development environment naturally just restarts the web part of the service.
By mounting torque we at least have access to it in our vagrant machine;
this will be important as we start to use a local copy of torque in the
development environment, instead of the one installed by ansible.
Issue #18
Right now our dev environment is locked into using whatever version of
torque production uses; this means we can't actually develop torque
using this development environment!
Rather than reimplement the entire ansible script we still run it (which
sets up things like supervisor, prerequisite services, databases, etc).
Once that's done, however, we swap in our mounted code and re-run the
python dependencies.
Issue #18
Oh the irony!
Torque itself is not actually part of this development environment. It's used in it, but only in the sense that ansible downloads it and sets it up in competitions.
We may want to do something like what we do with SimpleBook, where we run the Ansible scripts which would be used to power production, but ultimately delete the "ansible checked out" copy on the guest machine and replace it with a mounted copy.
If / when we do this we would want to consider wrapping torque in gunicorn similar to how we do on SimpleBook. This lets us do things like trivially restart torque when code changes.
The text was updated successfully, but these errors were encountered: