Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: add dev mode for app #583

Merged
merged 3 commits into from
Jun 27, 2024
Merged

feat: add dev mode for app #583

merged 3 commits into from
Jun 27, 2024

Conversation

longxiaofei
Copy link
Contributor

Currently, pygwalker supported to use dev mode in jupyter to develop froentend app.

  1. clone pygwalker repo
git clone git@github.com:Kanaries/pygwalker.git
 
cd pygwalker
  1. run froentend app
cd app

yarn

yarn dev
  1. run jupyter lab
pip install -e .

pip install jupyterlab jupyter_server_proxy

jupyter lab --ServerProxy.servers="{'pyg_dev_app': {'absolute_url': True, 'port': 8769, 'timeout': 30}}"
  1. run code in jupyter lab
import pandas as pd
import pygwalker as pyg

pyg.GlobalVarManager.set_component_url("/pyg_dev_app/") # use dev frontend app

df = pd.read_csv("xxxx")

walker = pyg.walk(df)

@longxiaofei longxiaofei merged commit 829c408 into Kanaries:main Jun 27, 2024
8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant