Skip to content

Commit d528780

Browse files
committed
Get rid of umbrella application!
1 parent b875b9a commit d528780

File tree

199 files changed

+167
-280
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+167
-280
lines changed

.formatter.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[
2-
inputs: ["mix.exs", "config/*.exs"],
3-
subdirectories: ["apps/*"]
2+
import_deps: [:phoenix],
3+
inputs: ["*.{ex,exs}", "{config,lib,test}/**/*.{ex,exs}"]
44
]

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@ erl_crash.dump
1919
# Also ignore archive artifacts (built via "mix archive.build").
2020
*.ez
2121

22+
# Ignore package tarball (built via "mix hex.build").
23+
components_guide-*.tar
24+
25+
/assets/node_modules/
26+
27+
# Since we are building assets from web/static,
28+
# we ignore priv/static. You may want to comment
29+
# this depending on your deployment strategy.
30+
/priv/static/
31+
32+
# If NPM crashes, it generates a log, let's ignore it too.
33+
npm-debug.log
34+
2235
.elixir_ls/
2336

2437
.DS_Store

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ install_mix:
66
mix deps.get
77

88
install_assets:
9-
cd apps/components_guide_web/assets/ && npm ci
9+
cd assets/ && npm ci
1010

1111
test_watch:
1212
watchexec -e ex,exs mix test
@@ -15,7 +15,7 @@ dev:
1515
iex -S mix phx.server
1616

1717
build:
18-
cd apps/components_guide_web/ && mix template_assets && mix phx.digest
18+
mix template_assets && mix phx.digest
1919

2020
clean:
2121
rm -rf ./_build

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
[![CC BY-SA 4.0][cc-by-sa-shield]][cc-by-sa]
44

5+
To start your Phoenix server:
6+
7+
* Install dependencies with `mix deps.get`
8+
* Install Node.js dependencies with `cd assets && npm install`
9+
* Start Phoenix endpoint with `mix phx.server`
10+
11+
Now you can visit [`localhost:4333`](http://localhost:4333) from your browser.
12+
13+
----
14+
515
This work is licensed under a
616
[Creative Commons Attribution-ShareAlike 4.0 International License][cc-by-sa].
717

apps/components_guide/.formatter.exs

Lines changed: 0 additions & 3 deletions
This file was deleted.

apps/components_guide/.gitignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

apps/components_guide/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

apps/components_guide/lib/components_guide/application.ex

Lines changed: 0 additions & 25 deletions
This file was deleted.

apps/components_guide/mix.exs

Lines changed: 0 additions & 56 deletions
This file was deleted.

apps/components_guide_web/.formatter.exs

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)