Skip to content

Admin UI to manage content for sites built by Beacon.

License

Notifications You must be signed in to change notification settings

EE-hey/beacon_live_admin

 
 

Repository files navigation

Beacon LiveAdmin

Admin UI to manage content for sites built by Beacon.

Status

Pre-release version. You can expect incomplete features and breaking changes before a stable v0.1.0 is released.

Local Development

LiveAdmin requires at least one site running to manage, so let's start LiveAdmin first and then start a sample site.

  1. Setup your local env
mix setup
  1. Run LiveAdemin
iex --sname admin -S mix dev

Keep this instance running.

  1. Open another terminal or tab, clone Beacon into another directory and follow the Local Development instructions to get a site up and running.

  2. Open http://localhost:4002/admin

You'll notice that no site is displayed, that's because Beacon LiveAdmin looks for sites running in the cluster and the two nodes aren't connected yet.

  1. In the beacon iex terminal (the last one you started) execute the following:
{:ok, hostname} = :inet.gethostname()
node = :"admin@#{List.to_string(hostname)}"
Node.connect(node)

Now you should see a site listed in the admin home page.

Looking for help with your Elixir project?

DockYard logo

At DockYard we are ready to help you build your next Elixir project. We have a unique expertise in Elixir and Phoenix development that is unmatched and we love to write about Elixir.

Have a project in mind? Get in touch!

About

Admin UI to manage content for sites built by Beacon.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 97.1%
  • JavaScript 2.0%
  • Other 0.9%