Skip to content

Instantly share code, notes, and snippets.

@zvlasic
Created January 25, 2021 09:15
Show Gist options
  • Select an option

  • Save zvlasic/08771659f9a531ea22661ad220d1b705 to your computer and use it in GitHub Desktop.

Select an option

Save zvlasic/08771659f9a531ea22661ad220d1b705 to your computer and use it in GitHub Desktop.
--- INSTALL POSTGRESQL database --- (ignore if you already have it)
--- Install ASDF ---
https://asdf-vm.com/#/core-manage-asdf
1. asdf plugin-add elixir
2. asdf plugin-add erlang
3. asdf plugin-add nodejs
4. (only for nodejs) bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-release-team-keyring'
5. go to folder where you checked out an VBT project and run asdf install to install needed elixir and erlang
--- Run project ---
1. go to project folder and run
mix deps.get
mix ecto.setup
go to assets folder and do npm install
go back to project folder and run iex -S mix phx.server
go to localhost:4000 in your browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment