index.community/backend
Tao Bror Bojlén 99a6dc2023
prepare for 2.2.0 release
2019-07-24 19:37:32 +03:00
..
config frontend/search/ui fixes 2019-07-23 14:08:43 +00:00
lib show instance type in details 2019-07-24 19:25:20 +03:00
priv Color code graph 2019-07-24 15:51:44 +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
.sobelow-conf set up sobelow for backend 2019-07-17 16:16:25 +00:00
Dockerfile set up migrations on deploy 2019-07-17 14:47:47 +03:00
Procfile set up migrations on deploy 2019-07-17 14:47:47 +03:00
README.md set up sobelow for backend 2019-07-17 16:16:25 +00:00
mix.exs prepare for 2.2.0 release 2019-07-24 19:37:32 +03:00
mix.lock Refactor graph sidebar, move to backend search 2019-07-23 12:20:34 +00:00

README.md

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)
  • This project is automatically scanned for potential vulnerabilities with Sobelow.

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