curl -X POST -H "Content-Type: application/json" -d '{
> "type": "email",
> "email": "[email protected]",
> "password": "y4b4d4b4d00"
> }
> ' http://localhost:8080/auth
Invalid message: the "body" parameter must exist.
X
All REST/WAMP calls needed for happy path test
POST ${auth_server}/backend/v1/auth/login -d 'username=${username}&password=${password}
$token = response.token
POST ${backend}/nimblets/v3/nimblets -d '{"type": "project", "name": "cooltestproj"}'
$project_id = response.id
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(appstream) Isaacs-MacBook-Pro://I/w/n/appstream (appstream:feature/daemon) | |
$ trial test/ | |
fetching http://www.pythontest.net/unicode/gb-18030-2000.xml ... | |
fetching http://www.pythontest.net/unicode/EUC-CN.TXT ... | |
fetching http://www.pythontest.net/unicode/CP936.TXT ... | |
fetching http://www.pythontest.net/unicode/BIG5HKSCS-2004.TXT ... | |
fetching http://www.pythontest.net/unicode/CP932.TXT ... | |
fetching http://www.pythontest.net/unicode/EUC-JISX0213.TXT ... | |
fetching http://www.pythontest.net/unicode/EUC-JP.TXT ... | |
fetching http://www.pythontest.net/unicode/SHIFTJIS.TXT ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LM-SJC-11000504://j/n/n/blinky (nerves-examples:master) | |
$ mix firmware | |
warning: the archive nerves_bootstrap requires Elixir "~> 1.2.4 or ~> 1.3" but you are running on v1.3.0-dev | |
Nerves Precompile Start | |
==> nerves_system | |
Compiled lib/nerves_system.ex | |
Compiled lib/mix/tasks/compress.nerves_system.ex | |
Compiled lib/nerves_system/exception.ex | |
Compiled lib/nerves_env/exception.ex | |
Compiled lib/nerves_system/provider.ex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0] | |
IO.inspect [1,2,3], mode: :expand | |
[1, | |
2, | |
3] | |
[1] | |
IO.inspect {:foo, :bar}, mode: :expand | |
{:foo, | |
:bar} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0] | |
inspect [1,2,3], pretty: :expanded | |
[1, | |
2, | |
3] | |
[1] | |
inspect {:foo, :bar}, pretty: :expanded | |
{:foo, | |
:bar} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule ExDistUtils do | |
def start_distributed(appname) do | |
unless Node.alive?() do | |
local_node_name = generate_name(appname) | |
{:ok, _} = Node.start(local_node_name) | |
end | |
cookie = Application.get_env(appname, :cookie) | |
Node.set_cookie(cookie) | |
end |