Skip to content

Commit

Permalink
Remove assets and html from server (#399)
Browse files Browse the repository at this point in the history
Why
---
These were a vestige from MVP2.  They imposed a cost of carry.
  • Loading branch information
bryanenders authored Jul 31, 2023
1 parent 9dcb078 commit 4031cf8
Show file tree
Hide file tree
Showing 95 changed files with 18 additions and 14,032 deletions.
15 changes: 1 addition & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@ erl_crash.dump
# Ignore package tarball (built via "mix hex.build").
dash-*.tar

# Ignore assets that are produced by build tools.
/priv/static/assets/

# VS code local settings
/.vscode

# Ignore digested assets cache.
/priv/static/cache_manifest.json

# In case you use Node.js/npm, you want to ignore these.
npm-debug.log
/assets/node_modules/

.DS_Store

/.vscode
/.vscode
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@ RUN mkdir config
COPY config/config.exs config/$MIX_ENV.exs config/
RUN mix deps.compile
COPY priv priv
COPY assets assets
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
&& apt-get install nodejs
RUN cd assets && npm install react react-dom && cd ..
RUN mix phx.digest
COPY lib ./lib
COPY lib lib
RUN mix compile
COPY config/runtime.exs config/
# COPY rel rel
Expand Down
19 changes: 0 additions & 19 deletions assets/.eslintrc.js

This file was deleted.

3 changes: 0 additions & 3 deletions assets/.prettierrc.js

This file was deleted.

3 changes: 0 additions & 3 deletions assets/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions assets/babel.config.js

This file was deleted.

5 changes: 0 additions & 5 deletions assets/jest.config.js

This file was deleted.

Loading

0 comments on commit 4031cf8

Please sign in to comment.