ScalesCms

ScalesCMS is a plugin CMS for the Phoenix Framework that is developed by Fish on Fire and allows you to manage the content of either applications or websites easily.

It provides a set of JSON endpoints for headless usage. Alongside the CMS we also provide a set of React Native components that can be used to easily integrate the CMS into your application.

Build Status

Build Status

Prerequisites

  • Elixir 1.14
  • Phoenix 1.7.17 and higher

How to set up in your project

  • Add to the list of dependencies in mix.exs
  • Add the following lines to your config.exs file
    config :scales_cms,
    endpoint: CmsDemoWeb.Endpoint
    
    config :scales_cms,
    repo: CmsDemo.Repo
    This will allow the CMS to use your application's endpoint and repo.
  • Run mix scales_cms.generate_migrations to generate the migrations for the CMS. These migrations are now part of your application. You could modify them, but no modifications are supported currently.
  • Run mix ecto.migrate to run the migrations.

React Native Renderer

More info on https://github.com/fishonfire/react-native-scales-renderer

Development setup

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Contributors

Copyright (c) 2024, Fish on Fire.

Phoenix source code is licensed under the GPL License.