Files
archived-starters/examples/elixir-phoenix
amy null bc44d1e2fe Make Elixir starter respect PORT env var (#58)
* Update dev.exs

* Update prod.exs
2021-03-03 19:15:57 -05:00
..
2021-02-05 13:38:31 -07:00
2021-02-03 02:12:54 +00:00
2021-02-03 02:12:54 +00:00
2021-02-03 02:12:54 +00:00
2021-02-01 23:52:53 +00:00
2021-02-03 02:12:54 +00:00
2021-02-03 02:12:54 +00:00
2021-02-03 02:12:54 +00:00
2021-02-03 02:12:54 +00:00
2021-02-03 02:12:54 +00:00

Elixir Phoenix Example

This example is a Phoenix application that connects to a Railway Postgres database.

Deploy on Railway

Features

  • Elixir
  • Phoenix
  • Postgres

💁‍♀️ How to use

  • Create a Railway project with the Postgres plugin
  • Connect to your Railway project with railway init
  • Install dependencies with railway run mix deps.get
  • Migrate the database railway run mix ecto.migrate
  • Install node dependencies with cd assets && npm install
  • Run the Phoenix app railway run mix phx.server

📝 Notes

This example was generated by running mix phx.new.

Read more about Phoenix at their official documentation.