dwyl / dwyl/learn-phoenix

Running Phoenix server in Travis CI

Open
#91 0 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
664
Forks
41
PR merge metrics
No merged PRs in 30d

Description

If you are looking to start your phoenix server while running travis, the server won't start by default.

For example try running: `MIX_ENV=test mix phoenix.server`

Nothing will happen.

To be able to run the above command, you will need to change `false` to `true` in `config/test.exs`:
```elixir
config :app, App.Endpoint,
http: [port: 4001],
server: false
```

Now `MIX_ENV=test mix phoenix.server` will be running on `http://localhost:4001`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.