Setting up Git repo on Dreamhost
Create an empty repo Create an empty repo off of /home/username where username is your user name.The following will create an empty repo named "myrepo" in the subdirectory /home/username/myrepo.git cd…
Create an empty repo Create an empty repo off of /home/username where username is your user name.The following will create an empty repo named "myrepo" in the subdirectory /home/username/myrepo.git cd…
Start with Docker's doc The link https://docs.docker.com/compose/django/ for the most part is valid in setting up a development environment for working with Django in Docker. Update to use Pipfile The…
Permission String The documentation for Django authentication (e.g. https://docs.djangoproject.com/en/2.2/topics/auth/default/#permissions-and-authorization) talks about allowing code to restrict access to models through a vague notion of a "permission." Read further and you kinda…
It turns out that this is quite an involved process with a lot of configuration and coordination w/ Sonatype. It took several days, upwards to a week or so, for…
ARGH! I've been bounced between languages. It's driving me NUTS. This is a comparison of how to do something in each to help me map between them. There is definitely…
Background GroovyPageUnitTestMixin From the Grails guide, testing a view in a unit test involves: Annotating the Specification with: @TestMixin(GroovyPageUnitTestMixin). Calling render(view: '...', model: ...) or render(template: '...', model: ...) whose…
Using Spring Boot on Scala Assumption This example uses a project generated/seeded via Activator using the "minimal-scala" template. However, any project using SBT will probably work just as well. Add Spring…