Sending Mail from a Vagrant box

Spoilers – I went with sSMTP, and the details of how I did it are here.

Option 1 – use sSMTP instead of Sendmail

Most config is from here but using the settings from Outlook Web Access (Settings cog -> Mail -> Accounts -> POP and IMAP, look in the SMTP setting section). This means having a new bit of software installed and configured (possibly via Vagrant?) This is what eventually worked for me (see sSMTP post here). Continue reading “Sending Mail from a Vagrant box”

Sending Mail from a Vagrant box

Heroku needs to be told it’s PHP not Node.js

(Note – this is a quick dot-point summary for my own benefit. It’s not written up properly.)

So I signed up for Heroku, and spent about three hours trying to work out why my app wouldn’t work.

I was getting errors about “no such file” and it was driving me nuts. I eventually worked out that the /vendor/bin/heroku-php-apache2 file seemed to be missing. So I did composer require --dev heroku/heroku-whatver and that didn’t help much. Continue reading “Heroku needs to be told it’s PHP not Node.js”

Heroku needs to be told it’s PHP not Node.js

Ajax-ey stuff

One day I want to learn backbone.js since I think it’s a front-end framework to do facebook-ey ajax-ey stuff. Or maybe even marionette which seems to be … I dunno, more than backbone… this site might help.

Or maybe AngularJS as it seems to be more popular than backbone and/or Marionette.

Or maybe VueJS because it seems to be lighter and simpler than backbone or Angular for small apps – you can build a small demo app in almost no time. Certainly Taylor Otwell seems to like it.

There is also Mithrill … but I don’t know if it’s really the same sort of thing.

But perhaps that should come after I get a basic server-side thing working first. 🙂

Ajax-ey stuff