wavedrom / vcdrom

VCD viewer
https://vc.drom.io
MIT License
80 stars 11 forks source link

Can you provide an example code for how to run this project in local? #38

Closed meiying0101 closed 1 year ago

meiying0101 commented 1 year ago

I want to run this project in my local server, but I don't know how to achieve it after '''npm install'''. Can you give some help, please? Thanks a lot!

obliguedon commented 1 year ago

simple way to build and run the app localy

assuming that you already have node, npm and python installed.

download and build the app

git clone https://github.com/wavedrom/vcdrom.git
cd ./vcdrom
npm i
./build.sh

launch

cd ./app
python3 -m http.server 9000

now in your browser go to http://localhost:9000/

I'm far from an expert in nodejs, this is just the way I use this app, don't know if its good or bad, but it work

meiying0101 commented 1 year ago

It works!! Thank you very much!!

drom commented 10 months ago

or you can run server this way:

http-server app