Generate a new Elixir project using mix
and add cowboy
and plug
as dependencies in mix.exs
:
defp deps do
[
{:cowboy, "~> 1.0.0"},
{:plug, "~> 0.8.1"}
]
end
{ | |
"spec/support/pages/*.rb": { | |
"type": "page", | |
"template": [ | |
"module Pages", | |
" class {camelcase}", | |
" include Capybara::DSL", | |
" include CapybaraErrorIntel::DSL", | |
" include Rails.application.routes.url_helpers", | |
"", |
Generate a new Elixir project using mix
and add cowboy
and plug
as dependencies in mix.exs
:
defp deps do
[
{:cowboy, "~> 1.0.0"},
{:plug, "~> 0.8.1"}
]
end