Automate code & data workflows with interactive Elixir notebooks
Find a file
Jonatan Kłosko 0925ec77cd
Implement notebook persistence and import (#44)
* Basic filesystem navigation

* Add file picker modal

* Implement autosave when dirty and show the status

* Add hompage link in the session view

* Improve file picker and use in both places

* Move session list to homepage

* Some refactoring

* Show import messages if any

* Fix and extend tests

* Show a message when there are no sessions running

* Rename import to fork and make that clear in notebook name

* Fix old route

* Show info when no file is connected to the given session

* Show runtime type next to filename

* Show button for joining session when a running path is selected

* Move modal components to SessionLive namespace

* Add FileGuard to lock files used for notebook persistence

* Use radio for specifying persistence type

* Don't lock nil path

* Simplify FileGuard implementation

* Test notebook persistence

* Fix typo

* Further simplify FileGuard

* Improve file listing

* Don't show parent dir when there's a basename being typed

* Add path component tests
2021-02-21 16:54:44 +01:00
.github/workflows Set up CI 2021-02-16 23:37:10 +01:00
assets Implement notebook persistence and import (#44) 2021-02-21 16:54:44 +01:00
config Update to Elixir v1.11 and remove unused files (#32) 2021-02-16 12:29:41 +01:00
lib Implement notebook persistence and import (#44) 2021-02-21 16:54:44 +01:00
test Implement notebook persistence and import (#44) 2021-02-21 16:54:44 +01:00
.formatter.exs Initial commit 2021-01-07 20:56:24 +01:00
.gitignore Implement notebook persistence and import (#44) 2021-02-21 16:54:44 +01:00
mix.exs Define notebook file format (#27) 2021-02-16 18:39:52 +01:00
mix.lock Define notebook file format (#27) 2021-02-16 18:39:52 +01:00
README.md Initial commit 2021-01-07 20:56:24 +01: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