dwyl / learn-phoenix

:fire: Phoenix is the web framework without compromise on speed, reliability or maintainability! Don't settle for less. :rocket:
649 stars 45 forks source link

LiveBook #147

Open nelsonic opened 2 years ago

nelsonic commented 2 years ago

Programmer Passport: LiveBook - Video 1: LiveBook Scenarios: https://youtu.be/_Bj9Y0V8WgA

cc: @SimonLab

SimonLab commented 2 years ago

LiveBook collaborative feature: https://youtu.be/RKvqc-UEe34?t=1383

nelsonic commented 2 years ago

@SimonLab have you tried running it on your localhost ? 💭

SimonLab commented 2 years ago

Yes, running on Ubuntu was easy. Because I have already Erlang/Elixir setup I just ran the following commands: https://github.com/livebook-dev/livebook#escript

mix escript.install hex livebook

# add livebook to path (I'm using asdf)
asdf reshim elixir

# Start the Livebook server
livebook server

result:

[Livebook] Application running at http://localhost:8080/?token=7qm2om3hmp75v2zxkwxlspopov44mhhv

image

nelsonic commented 2 years ago

I did a similar install, but got the following warning along the way:

warning: you must append "/Users/n/.mix/escripts" to your PATH if you want to invoke escripts by name

Which meant that livebook was not installed on the path.

zsh: command not found: livebook

Added $HOME/.mix/escripts to PATH in ~/.bashrc and restarted terminal ...

After granting permissions:

image

I get a similar result:

image

What next? 💭