I hereby claim:
- I am yeongsheng-tan on github.
- I am yeongsheng_tan (https://keybase.io/yeongsheng_tan) on keybase.
- I have a public key ASC3je2qcCaHAA_10-6ctjC3RIg-sM_nQuS7pGmHvudV9go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Get this app up and running on a Vagrant VM using your known production best practices as well as the instructions in the guidelines below.
You should use provisioner to install and configure everything. Ansible is preffered. But you can use chef or puppet if you more familiar with those tools. (please don't use shell provisioner).
# distillery rel/config.exs sample content for linking up migration tasks | |
Path.join(["rel", "plugins", "*.exs"]) | |
|> Path.wildcard() | |
|> Enum.map(&Code.eval_file(&1)) | |
use Mix.Releases.Config, | |
# This sets the default release built by `mix release` | |
default_release: :my_app, | |
# This sets the default environment used by `mix release` | |
default_environment: Mix.env() |
#!/usr/bin/env sh | |
# File is located in my_app/priv/commands/my_db_migrate.sh | |
echo "In script" | |
echo $SCRIPT | |
"${SCRIPT}" command Elixir.MyApp.ReleaseTasks migrate |
defmodule MyApp.ReleaseTasks do | |
@app :my_app | |
@start_apps [:postgrex, :ecto] | |
def migrate do | |
pre_start() | |
Enum.each([@app], &run_migrations_for/1) | |
post_start() | |
end |
Verifying my Blockstack ID is secured with the address 1GLpsxSJa6GV4ypMY8MNysgywUZ9wBZD99 https://explorer.blockstack.org/address/1GLpsxSJa6GV4ypMY8MNysgywUZ9wBZD99 |
Verifying that "yeongsheng.id" is my Blockstack ID. https://onename.com/yeongsheng |
Homebrew build logs for vapor/tap/vapor on macOS 10.13.4 | |
Build date: 2018-04-09 12:52:29 |