Skip to content

Commit

Permalink
Remove remaining references to demo_app
Browse files Browse the repository at this point in the history
  • Loading branch information
merhard committed Nov 15, 2024
1 parent 03a8a6e commit 8ee3616
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 32 deletions.
4 changes: 1 addition & 3 deletions .formatter.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ station_ui-*.tar
# Temporary files, for example, from tests.
/tmp/

node_modules/
priv/static/assets/
.vscode/

.elixir_ls/
.elixir_ls/
15 changes: 1 addition & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
13 changes: 1 addition & 12 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ defmodule StationUI.MixProject do
elixirc_paths: elixirc_paths(Mix.env(), Application.get_env(:station_ui, :use_source_components, false)),
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
description: "StationUI",
package: [
organization: "dockyard",
Expand All @@ -18,7 +17,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
Expand All @@ -44,14 +43,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

0 comments on commit 8ee3616

Please sign in to comment.