Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove remaining references to demo_app #3

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading