index.community/backend
2019-07-14 14:40:54 +01:00
..
config fix DATABASE_URL config in phoenix 2019-07-14 14:40:54 +01:00
lib fix DATABASE_URL config in phoenix 2019-07-14 14:40:54 +01:00
priv refactor/elixir backend 2019-07-14 11:47:06 +00:00
rel/rel refactor/elixir backend 2019-07-14 11:47:06 +00:00
test refactor/elixir backend 2019-07-14 11:47:06 +00:00
.dockerignore refactor/elixir backend 2019-07-14 11:47:06 +00:00
.formatter.exs refactor/elixir backend 2019-07-14 11:47:06 +00:00
Dockerfile fix DATABASE_URL config in phoenix 2019-07-14 14:40:54 +01:00
mix.exs refactor/elixir backend 2019-07-14 11:47:06 +00:00
mix.lock refactor/elixir backend 2019-07-14 11:47:06 +00:00
README.md refactor/elixir backend 2019-07-14 11:47:06 +00:00

fediverse.space backend

Notes

  • This project requires Elixir >= 1.9.
  • Run with SKIP_CRAWL=true to just run the server (useful for working on the API without also crawling)

Deployment

Deployment with Docker is handled as per the Distillery docs.

  • To build a new version, run make build in this directory.
  • To migrate a released version, run ./backend eval "Backend.Release.migrate"

Default README

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more