Giter Site home page Giter Site logo

evelinag / wrattler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wrattler/wrattler

0.0 0.0 0.0 7.67 MB

Jupyter Notebook 9.30% Dockerfile 1.80% Shell 0.28% CSS 4.04% HTML 0.45% TypeScript 28.85% F# 28.36% JavaScript 2.23% R 10.15% Batchfile 0.12% Python 14.42%

wrattler's Introduction

Build status

If you get

ERROR: for wrattler_wrattler_client_1 Cannot create container for service wrattler_client: b'Drive has not been shared'

You need to share your drives in Docker settings (Windows)

But automatic reload does not work on Windows anyway: See docker/compose#4326 and docker/for-win#56

To run Wrattler in Jupyterlab

  1. In wrattler/client, start up a client docker
docker run -v <pathToWrattler>/wrattler/client:/app -it wrattler_wrattler_client
eg.
docker run -v /Users/myong/Documents/workspace/wrattler/client:/app -it wrattler_wrattler_client 
  1. In the runnin wrattler_wrattler_client, run the app/build.sh script
laptop-ati0014:client myong$ docker run -v /Users/myong/Documents/workspace/wrattler/client:/app -it wrattler_wrattler_client 
root@a16bb55766f5:/app# ./build.sh
  1. When building completes, there will be a message as follows:
Closing Fable daemon...
Done in 105.49s.
Yarn built - Thanks Nick!
root@2477249e82e9:/app# exit 
  1. Copy the yarn-built build/wrattler-app.js into the client/public folder so that the client can serve it
cp build/wrattler-app.js public/wrattler-app.js
  1. In wrattler/jupyterlab_wrattler, start jupyterlab environment
conda activate jupyterlab-ext
  1. Build jupyterlab with wrattler mime renderer
jlpm run build
eg.
(jupyterlab-ext) laptop-ati0014:jupyterlab_wrattler myong$ 
  1. In a separate tab, start jupyterlab with wrattler
jupyter lab --watch
eg.
(jupyterlab-ext) laptop-ati0014:jupyterlab_wrattler myong$ jupyter lab --watch
  1. This will provide an address and token. Paste into browser
The Jupyter Notebook is running at:
http://localhost:8889/?token=xys

wrattler's People

Contributors

crangelsmith avatar myyong avatar nbarlowati avatar tpetricek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.