Comments (3)
Running Streamsync from Cloned Source
Follow these steps to set up and run Streamsync from a cloned source:
Step 1: Create a Virtual Environment
Ensure that you have a virtual environment installed within your cloned directory. You can create a virtual environment with the following commands:
python -m venv .winvenv
# OR
python -m venv .venv
Step 2: Install All Dependency
pip install -e .
Step 3: Set Up the User Interface (UI)
Navigate to the UI folder and install the required Node.js dependencies and build the UI:
npm install && npm run build
Step 4: Running the App
go root folder and run
streamsync edit hello --port 5000
Note: If you encounter an error like “A path to a folder containing a Streamsync app is required,” you may need to specify the path. In that case, navigate to the source folder and run:
cd src/streamsync/
streamsync edit app_templates/default --port 5000
from streamsync.
Running Streamsync from source can be slightly challenging.
First I'd change src/streamsync.py
to something like 0.2.6wgong
to check I'm actually executing the version from source.
Then you'd need to make sure that, with Node and NPM installed, you've compiled the required assets by running npm run build
.
from streamsync.
Thank you @ramedina86 , will try it out
from streamsync.
Related Issues (20)
- Latest master doesn't build HOT 3
- How to deploy as a web application? HOT 2
- Configure component once, use many times HOT 1
- Invalid escape sequence in core.py HOT 3
- Custom Sidebar is not put in the sidebarContainer slot HOT 4
- streamsync 0.3.0 installation problem on Windows11 HOT 3
- Fix docs video on mobile
- Add Discord link to README and website HOT 2
- Add serialiser for Polars and Dataframe Interchange Protocol
- Repeater triggers exception when the last item is removed from linked state element HOT 2
- Slider width is not constant if it involves decimals HOT 1
- change on value of a graph as vega spec does not trigger mutation in extension HOT 6
- Python 3.12 tests issuing DeprecationWarning related to multiprocessing HOT 2
- use poetry instead of setup tools as package manager
- github action enforce PR continuous integration rules
- Changing font-family for entire app not intuitive
- Unable to build docker image with Dockerfile from docs HOT 2
- Event context not working for repeater objects where the repeater object is specified using square brackets "[ ]" HOT 2
- Serving large numbers of images
- pagination component documentation is missing on the official documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamsync.