Coder Social home page Coder Social logo

File path about kweb HOT 8 CLOSED

gdsfactory avatar gdsfactory commented on July 28, 2024
File path

from kweb.

Comments (8)

sebastian-goeldi avatar sebastian-goeldi commented on July 28, 2024

Argh, sorry. Yes, this is a problem in the configuration with kweb as it is now mainly made to work with gdsfactory.

If you want a quick and dirty fix and are under linux:

Copy the file wg.gds in the gds files folder src/kweb/gds_files/wg.gds to /tmp/wg.gds /tmp/gdsfactory/wg.gds

@joamatab can we make kweb work again with the link that the README says?

from kweb.

joamatab avatar joamatab commented on July 28, 2024

from kweb.

SouthChinaHuihuisauce avatar SouthChinaHuihuisauce commented on July 28, 2024

image
Yes, I also tried to copy the files to the gdsfactory directory, and I successfully ran it. Next, I want to study how to display gds on the front-end page through websocket. I have an idea to modify this project to separate the front and back ends, which may be better

from kweb.

sebastian-goeldi avatar sebastian-goeldi commented on July 28, 2024

Frontend and backend are separated already. Backend is purely in server.py, frontend is the client.js and client.html . I purely stopped developing this, because a) I am not a good webdeveloper (also interest isn't that big) and b) my company doesn't have a current need for this

from kweb.

SouthChinaHuihuisauce avatar SouthChinaHuihuisauce commented on July 28, 2024

Okay, but you're great (to be honest). I'm a web front-end development intern and I'm glad to know and learn about kweb. Thank you again!

from kweb.

sebastian-goeldi avatar sebastian-goeldi commented on July 28, 2024

Thanks ^^. Though I have to say most of the frontend either comes from @klayoutmatthias or @joamatab with other people from a hackathon. I purely slapped fastapi onto the initial proof of concept and changed some stuff to make it work with jinja templates. So, there are most definitely people here that did way more for this than me

from kweb.

SouthChinaHuihuisauce avatar SouthChinaHuihuisauce commented on July 28, 2024

Unity is strength Thank you GitHub

from kweb.

sebastian-goeldi avatar sebastian-goeldi commented on July 28, 2024

fixed with 1.0. Just set KWEB_FILESLOCATION to a folder with your desired gds files.

from kweb.

Related Issues (15)

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.