sqitch
maildev
sqitch | maildev | |
---|---|---|
7 | 8 | |
2,715 | 4,794 | |
1.2% | 1.7% | |
7.2 | 4.8 | |
about 2 months ago | 6 days ago | |
Perl | SCSS | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sqitch
-
Ask HN: What tool(s) do you use to code review and deploy SQL scripts?
We use https://sqitch.org/ and we’re fairly happy with it. Sqitch manages the files to deploy which are applied fits to a local database.
We use GitHub actions for deployment and database migrations are just one step of the pipeline. The step invokes sqitch deploy which runs all the pending migration files.
Then, all the approval process is standard for the environment. We require approvals in pull requests before merging to the main branch.
-
PostgREST: Providing HTML Content Using Htmx
I'm experimenting with it right now using Squitch [1] to make maintenance easier. It still feels like a hack and I also still have my doubts about the viability of this for real-world use. It's fun though and I'm learning about all kinds of advanced Postgres features.
[1] https://sqitch.org/
-
Modern Perl Catalyst: Docker Setup
For developing I find the official Perl docker images, running on a lightweight version of Debian, to be perfectly fine. Later on you might hand roll the skinniest possible image but the beauty of this setup is you can do that later and you don't need to change anything else. There's really not a lot going on here. First I declare the base image, which is as I said the official Perl image. I'm not using the latest Perl here because the application uses Sqitch for managing database migrations and that needs an update (there's a PR pending) to run on the most recent Perl so we'll just use a very nearly recent one instead. WORKDIR just defines where your application is installed. You can put it anywhere you want within reason. I like simple things so I use the most simple of all the conventions I've seen around.
-
Database migration tool
Also, https://sqitch.org/
- How do you handle schema migrations?
-
Announcing codd - a tool to apply postgres SQL migrations
Some possible upsides of codd: - No need to manually write verification SQL. Codd will update schema representation files when you codd add some-migration.sql and will compare those to the actual schema when deploying (I'd say in ways which would be very hard to replicate manually, see an example of what codd checks, giving you the option to rollback if they don't match or proceed but log non-matching db objects. - It seems to be much simpler to set codd up. You need 3 env vars to start, a folder to store your migrations and a self-contained statically linked executable. Just codd add migration.sql your way in after that - This might be very wrong as I couldn't find it explicitly documented, but this GH issue suggests it's not so simple to apply all pending migrations in a single transaction with Sqitch? Maybe it requires some bundling or something along those lines and then it's fine, though. In any case, codd will do this automatically when you run codd up (provided postgresql allows it).
maildev
- MailDev is a simple way to test a project's generated email during development
-
Modern Perl Catalyst: Docker Setup
As I said before Maildev is a neat and easy to use SMTP server that is great for development since you can have your application act as though its really sending emails and have that intercepted directly and reviewed in a neat GUI application. It's a nice way to solve the problem of testing emails but you are certainly welcome to do something else, possible dangerous, like actually send emails from your development box :). Again, I want you to start thinking about chaining applications together as a cluster of single purpose containers, all talking to each other via simple conventions and environment variables (for example you might have noticed that the DB_HOST was the same as the name of the database container; Docker does a great job of offering simple conventions like that which really save a lot of setup headache.
-
MailCrab
This looks quite nice and lean, we started using https://github.com/maildev/maildev especially for the arm64 support.
-
PHP creation Member Space Maildev does not receive anything
Reading about maildev, it seems to be a STMP server for testing. I assume then, the problem is in the mail() function.
- Internal e-mail solution for locked down internal cameras?
-
Self hosting *internal* mail server
There are other options besides running a fully blown internal mail server. You could try https://github.com/maildev/maildev or https://github.com/mailhog/MailHog (no longer being developed but still working great) if it is enough for your use case.
-
What components should I learn if I want to confirm new users by sending them an email with a link they should click?
I was able to implement a simple verification link that a new user can click to confirm their account. However, my implementation is only up to localhost environment using maildev.
-
Django Mail Debug with MailDev w/ Docker for four Steps.
In my case, I used docker-compose to do this, but please read accordingly. Of course, you can also use Docker commands to run it, and even if you don't have Docker environment, you can install and use it with npm command. For more information, please look at official document here .
What are some alternatives?
ContactsDemo - Example Catalyst Application
MailHog - Web and API based SMTP testing
migrate - Database migrations. CLI and Golang library.
Mailpit - An email and SMTP testing tool with API for developers
atlas - Manage your database schema as code
email-templates - Create, preview (browser/iOS Simulator), and send custom email templates for Node.js. Made for @forwardemail, @ladjs, @cabinjs, @spamscanner, and @breejs.
git-secret - :busts_in_silhouette: A bash-tool to store your private data inside a git repository.
smtp-gotify - A small program which listens for SMTP notifications and sends all incoming messages to your Gotify server
docs - Documentation for Docker Official Images in docker-library
free-email-forwarding - The best free email forwarding for custom domains. Visit our website to get started (SMTP server)
smoothdb - SmoothDB provides an automatic RESTful API to PostgreSQL databases
MailDev - :mailbox: SMTP Server + Web Interface for viewing and testing emails during development. [Moved to: https://github.com/maildev/maildev]