From ed2efc1fe515588c3f02c5251101cfe943761ab4 Mon Sep 17 00:00:00 2001 From: Matthew Erhard Date: Fri, 15 Nov 2024 13:00:32 -0500 Subject: [PATCH] Remove remaining references to `demo_app` --- .formatter.exs | 4 +--- .gitignore | 4 +--- README.md | 15 +-------------- mix.exs | 12 +----------- 4 files changed, 4 insertions(+), 31 deletions(-) diff --git a/.formatter.exs b/.formatter.exs index 2eeb5eb..3d58b68 100644 --- a/.formatter.exs +++ b/.formatter.exs @@ -4,9 +4,7 @@ plugins: [TailwindFormatter, Phoenix.LiveView.HTMLFormatter], inputs: [ "{mix,.formatter}.exs", - "{config,lib,test}/**/*.{ex,exs}", - "demo_app/{config,lib,test}/**/*.{ex,exs}", - "installer/{config,lib,test}/**/*.{ex,exs}" + "{lib,sources,test}/**/*.{ex,exs}" ], line_length: 150 ] diff --git a/.gitignore b/.gitignore index e2a5391..cd8c317 100644 --- a/.gitignore +++ b/.gitignore @@ -25,8 +25,6 @@ station_ui-*.tar # Temporary files, for example, from tests. /tmp/ -node_modules/ -priv/static/assets/ .vscode/ -.elixir_ls/ \ No newline at end of file +.elixir_ls/ diff --git a/README.md b/README.md index 3f615b0..9a21fdd 100644 --- a/README.md +++ b/README.md @@ -9,17 +9,4 @@ In addition to these benefits, Station UI also replaces Phoenix Core Components. ### From Repo 1. Add `{:station_ui, github: "dockyard/station-ui"}` to your deps in `mix.exs` -1. Inside your project root, run `mix station_ui.install`. Note the project must be running the same version of Elixir as the one you ran `mix archive.install` with - -## Local Development - -For detailed instructions on setting up and making changes in your development environment, see: [Demo App](demo_app/README.md). - -To run the application locally, navigate to the `/demo_app` folder: - -``` -cd demo_app/ -iex -S mix phx.server -``` - -Once running, open [http://localhost:4000/](http://localhost:4000/) in a browser to view. +1. Inside your project root, run `mix station_ui.install`. diff --git a/mix.exs b/mix.exs index c4e65d7..2d76f54 100644 --- a/mix.exs +++ b/mix.exs @@ -18,7 +18,7 @@ defmodule StationUI.MixProject do ], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/DockYard/station-ui"}, - files: ~w(lib templates css fonts js mix.exs README.md) + files: ~w(lib sources mix.exs LICENSE.md README.md) ] ] end @@ -44,14 +44,4 @@ defmodule StationUI.MixProject do {:tailwind_formatter, "~> 0.3.5", only: [:dev, :test], runtime: false} ] end - - defp aliases do - [ - "phx.server": &phx_server/1 - ] - end - - defp phx_server(_) do - IO.puts("Running in wrong directory. cd into demo_web") - end end