Automate code & data workflows with interactive Elixir notebooks
Find a file
Jonatan Kłosko d93b5d8450
Set up image uploads for Markdown content (#132)
* Add cell image upload modal

* Add controller for serving the images and handle this on markdown side

* Use per-session images dir

* Add etag header to session image responses

* Adjust markdown image styling

* Properly manage session images dir

* Add tests

* Set maximum file size for image uploads

* Move images dir specifics to the Session module

* Move images when nonpersistent session becomes persistent

* Update lib/livebook_web/live/session_live.ex

Co-authored-by: José Valim <jose.valim@dashbit.co>

* Update lib/livebook_web/live/session_live.ex

Co-authored-by: José Valim <jose.valim@dashbit.co>

* Update lib/livebook_web/live/session_live/cell_upload_component.ex

Co-authored-by: José Valim <jose.valim@dashbit.co>

* Test that close gets rid of session temporary dir

Co-authored-by: José Valim <jose.valim@dashbit.co>
2021-04-04 18:55:51 +02:00
.github/workflows Add formatting checks to CI workflow (#108) 2021-03-22 22:16:38 +01:00
assets Set up image uploads for Markdown content (#132) 2021-04-04 18:55:51 +02:00
config Prevent from scrolling to top on modal open (#129) 2021-04-02 14:00:49 +02:00
lib Set up image uploads for Markdown content (#132) 2021-04-04 18:55:51 +02:00
priv/static Logo and README (#133) 2021-04-04 12:42:46 +02:00
test Set up image uploads for Markdown content (#132) 2021-04-04 18:55:51 +02:00
.formatter.exs Initial commit 2021-01-07 20:56:24 +01:00
.gitignore Escript (#77) 2021-03-17 01:53:44 +01:00
mix.exs Add "Hello Livebook" notebook (#123) 2021-03-30 21:42:02 +02:00
mix.lock Add "Hello Livebook" notebook (#123) 2021-03-30 21:42:02 +02:00
README.md Logo and README (#133) 2021-04-04 12:42:46 +02:00

Livebook

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Install Node.js dependencies with npm install inside the assets directory
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more