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

Feature/setup tools improvements #962

Merged
merged 4 commits into from
Oct 16, 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
2 changes: 1 addition & 1 deletion core/config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ config :core, :apns_backend, Core.APNS.LoggingBackend

config :core,
:admins,
["e.vanderveen@eyra.co"]
["e.vanderveen@eyra.co", "m.j.kokernoot@eyra.co"]

# # For Minio (local S3)
# config :ex_aws,
Expand Down
22 changes: 2 additions & 20 deletions setup
Original file line number Diff line number Diff line change
@@ -1,20 +1,2 @@
#!/bin/sh -e

asdf plugin-add erlang || true
asdf plugin-add elixir || true
asdf plugin-add nodejs || true

bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-release-team-keyring'
bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-previous-release-team-keyring'

asdf install

cd assets
asdf exec npm install
cd ..

asdf exec mix deps.get

pre-commit install

echo "All done. Reload your shell to enable the new commands."
#!/bin/bash
source ./setup.sh
5 changes: 1 addition & 4 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ asdf plugin-add erlang || true
asdf plugin-add elixir || true
asdf plugin-add nodejs || true

bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-release-team-keyring'
bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-previous-release-team-keyring'

asdf install

cd assets
cd ./core/assets
asdf exec npm install
cd ..

Expand Down
Loading