This is a web browser application demonstrating:
Join the Ash Discord Server and check out the Pyro channel.
Restart your terminal after installing Elixir.
brew install elixir
This might work better with VSCode language servers for Elixir. Or it might not work at all.
This currently fails to build erlang-ssl-fun
.
brew install autoconf wxwidgets libxslt fop [email protected] asdf
# I use zsh. Change the following line to >> ~/.bashrc if you use bash.
echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc
# Restart your terminal
asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git
# To install more docs, add the following at the beginning:
# KERL_INSTALL_MANPAGES=yes KERL_INSTALL_HTMLDOCS=yes
KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac --with-ssl=$(brew --prefix [email protected])" KERL_BUILD_DOCS=yes asdf install erlang 26.0.1
asdf global erlang 26.0.1
asdf plugin add elixir
asdf install elixir 1.15.0
asdf global elixir 1.15.0
See https://www.rust-lang.org/tools/install
"tailwindCSS.experimental.configFile": "./assets/tailwind.config.js"
git clone https://github.com/dev-guy/phoenix-ash-svelte-flowbite.git
cd phoenix-ash-svelte-flowbite
nvm install
npm install -g @pnpm/exe
mix local.hex
mix local.rebar
mix tailwind.install
mix setup
# Register the version of esbuild installed by pnpm
mix esbuild.install
mix phx.server
Open a browser to http://localhost:4000
assets/tailwind.config.js
. It is also specified in root.html.heex
via data-theme=
.svelte
files are located in assets/svelte<style>
elements that need Postcss etc. should use lang="scss"
instead of type="text/scss"
<style>
blocks in Svelte files is a bad idea "live_svelte": "file:../deps/live_svelte",
"pyro": "file:../deps/pyro",
"phoenix": "file:../deps/phoenix",
"phoenix_html": "file:../deps/phoenix_html",
"phoenix_live_view": "file:../deps/phoenix_live_view"
Tabbed collaboration works out of the box. Cross-browser collaboration requires running a WebRTC server:
nvm i
cd assets
PORT=4444 npx y-webrtc server.js