Giter Site home page Giter Site logo

Comments (3)

SurajRaika avatar SurajRaika commented on May 17, 2024 1

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.

ramedina86 avatar ramedina86 commented on May 17, 2024

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.

wgong avatar wgong commented on May 17, 2024

Thank you @ramedina86 , will try it out

from streamsync.

Related Issues (20)

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.