Git Product home page Git Product logo

kaminion / nteract-minimal-jupyter-extension-app Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 188 KB

This is Jupyter Notebook extesion app, It's have minimal config, not include nteract-monorepo

License: BSD 3-Clause "New" or "Revised" License

Jupyter Notebook 18.21% Python 33.18% TypeScript 39.10% HTML 2.59% CSS 3.64% JavaScript 3.29%
nteract react data-science jupyter notebook react-component jupyter-notebook ipython

nteract-minimal-jupyter-extension-app's Introduction

nteract animated logo

Nteract-minimal-jupyter-extension-app · Last Commit PRs Welcome

  • If you using the Jupyter-notebook-extension in nteract, doesn't require yarn to install the entire repo

  • It is Jupyter Notebook extesion app, It have minimal config, not include nteract-monorepo

  • You should not installed Nteract MonoRepo

  • This Document written by Korean

  • If you are not Korean, Please Use English to Question (issues) or Contact to My Email

  • email Address : [email protected]

Pre-required

Usage

  1. install nteract_on_jupyer with pip:
    pip install nteract_on_jupyter
  1. Install the This Repo (JS)
  • At ther base Directory of the this repo(nteract-minimal-jupyter-extension-app) install
    npm i
  1. install/enable nteract_on_jupyter (Supporting Python 3.X)
  • Skip: If you have through to Nteract link, you can skip this part
  • Install the Python Package locally from the /extension directory (you should see a setup.py here).
    cd /extension
    pip install -e .
    jupyter serverextension enable nteract_on_jupyter

Development

  • We have four more step:

    1. You Should setup Jupyter Server Setting (cross-origin)
    2. build the javascript and html assets with webpack
    3. run the Jupyter server
    4. and Have to Connect not localhost, 127.0.0.1(loopback) address
  • Example:

    npm run start
    jupyter nteract --NteractConfig.asset_url="http://127.0.0.1:10600"
  • The --NteractConfig.asset_url flag tells the Jupyter server where the webpack server will be serving the assets.

초기 설정

  • 본 저장소는 nteract - jupyter-extension-app 에 기초하며, 해당 문서를 봐도 설정법을 모르시는 경우 issue나 이메일로 연락주시길 바랍니다.

바벨 설정

  • @babel/core
  • @babel/preset-env
  • @babel/preset-react

모나코 에디터 dependency

TS 컴파일 이슈

  • 모든 node_modules 폴더 검사하는 이슈
  • Change exclude: /node_modules/ to exclude: path.resolve(__dirname, '/node_modules')
  • (해결링크)[http://blog.timwheeler.io/webpack-and/]
  • export, export default 한 파일에 같이 쓰면 발생하는 문제 commonjs로 바꿔도 안돼서 head script에 var exports = {};로 수정

이외 이슈

  • 웹 팩 alias설정같은 경우 이들이 사용하는 webpack config 패키지로 해결
  • ...configurator.mergeDefaultAliases() 추가 (alias)
  • lodash 이슈 - lodash.isequal 모듈 설치
  • jupyter trust 이슈 - jupyter trust ./파일명을 포함한 풀 경로 작성

nteract-minimal-jupyter-extension-app's People

Contributors

kaminion avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

nteract-minimal-jupyter-extension-app's Issues

docs modified

  • Korean translate to English
  • more explain ) usage, setting ... etc.

Failed to load path/webpack.common.js' config

[Error Message]

[webpack-cli] Failed to load 'C:\Users\user2\Desktop\company\nteract-minimal-jupyter-extension-app\webpack.common.js' config
[webpack-cli] Error: Cannot find module 'metadata.js'

node version 12.19.0
npm version 6.14.8

문서 한글화

현재 영어로만 작성되어 있는 문서를 한글화 시키는 작업을 추진 할 예정.

macbook 의존성 설치 이슈

맥북에서 의존성 설치 시, 제대로 작동안되는 이슈가 있음
특히 dev-의존성과 react-is와 같은 다른 저장소의 package들이 문제를 일으킴

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.