Skip to content

Instantly share code, notes, and snippets.

@mattweldon
mattweldon / up-and-running-with-edeliver-on-do.md
Last active September 3, 2021 16:48
Getting Elixir / Phoenix running on Digital Ocean with edeliver

Build Server

  • Go to Digital Ocean
  • Create new droplet
  • London
  • Ubuntu
  • No apps
  • Add SSH keys
@jeffweiss
jeffweiss / fpm snippet
Created April 15, 2016 17:57
snippets for elixir continuous delivery pipeline
cmd = [
'fpm',
'-t deb',
'-s dir',
'-d postgresql',
'-m ' + config[:maintainer],
"-n '#{config[:product]}'",
"--prefix /opt/puppet/#{config[:product]}",
'-v ' + deb_version,
"--deb-init #{config[:product]}.init",
@goodwill
goodwill / cloud-sql-proxy.service
Last active July 16, 2024 21:46
Example Systemd file for starting cloud sql proxy at system start
[Install]
WantedBy=multi-user.target
[Unit]
Description=Google Cloud Compute Engine SQL Proxy
Requires=networking.service
After=networking.service
[Service]
Type=simple