GithubHelp home page GithubHelp logo

Comments (13)

MichelKrispin avatar MichelKrispin commented on September 28, 2024 1

Yes, I mean I don't use it anymore. Maybe for some experimental feature thats about to come there is some use for it but then we could also create a new branch when the time has come.

from time4apint.

tlunet avatar tlunet commented on September 28, 2024

PS : I guess I'm missing the build of the TS part, but I did not find the updated documentation on this ... 😅

from time4apint.

MichelKrispin avatar MichelKrispin commented on September 28, 2024

@tlunet Sorry for the late answer.
I updated the way the server works and it should take the built Javascript files now by default. There are some problems right now with them (the icons aren't displayed right now; the buttons for home and documentation in the upper corners are there but without icons and the error pop-up isn't shown) but I will look into that.
So running

python web.py

should work now.

Additionally, I updated the dev-documentation.md, so following that should also work.

Let me know if there are still error messages coming up.

from time4apint.

tlunet avatar tlunet commented on September 28, 2024

On which branch did you push ? I don't see anything new in the web branch (see https://github.com/Parallel-in-Time/time4apint/tree/web) ...

from time4apint.

MichelKrispin avatar MichelKrispin commented on September 28, 2024

I merged it all into the gaia branch in this commit.

from time4apint.

tlunet avatar tlunet commented on September 28, 2024

Oh I see 😅 ... should we ignore the web branch now then ?

from time4apint.

tlunet avatar tlunet commented on September 28, 2024

Btw, accuracy app seems not to be in web_apps folder : should I recreate it based on the demo app or do you still have an old one that can be used as basis ?

from time4apint.

MichelKrispin avatar MichelKrispin commented on September 28, 2024

I'm currently working on that, i.e. I created one that takes the block problem parameters and generates the frontend.
I can upload that but right now there is a problem with the displayed graph...

from time4apint.

tlunet avatar tlunet commented on September 28, 2024

Don't worry : I can still use it for the demonstration, even if the graph is not the correct one. I have the python script to do the proper run and show the real graphs anyway. So you can already push it and correct it later.

Other point : when trying to build the dev frontend, got this error :

(base) telu@calliope:frontend$ which yarn
/usr/bin/yarn
(base) telu@calliope:frontend$ ls
node_modules  package.json  src  tsconfig.json  tsconfig.node.json  vite.config.ts  yarn.lock
(base) telu@calliope:frontend$ yarn 
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.

from time4apint.

MichelKrispin avatar MichelKrispin commented on September 28, 2024

Ok. I just pushed the base app. It should be there now (without documentation right now).

Actually, I haven't seen that before... But I can reproduce it!
If I also use yarn from /usr/bin/yarn I get the same error message. My default yarn which works is inside my node installation at /home/michel/node-v18.14.../bin/yarn.

Just to be sure. Does at least the non-dev version work?

from time4apint.

tlunet avatar tlunet commented on September 28, 2024

Actually, doing python web.py works already. But thanks ! I'll use the correct yarn then ...

from time4apint.

MichelKrispin avatar MichelKrispin commented on September 28, 2024

With the latest updates the plot should work correctly too. And the icons should be displayed.
If there is another problem with getting the frontend up and running, let me know.

from time4apint.

tlunet avatar tlunet commented on September 28, 2024

Ok, solved the yarn problem. The version shipped with linux distro (Ubuntu in my case) is actually very old. So using a more recent version, installed e.g with npm, solve the issue :

(base) telu@calliope:frontend$ /usr/bin/yarn --version
0.32+git
(base) telu@calliope:frontend$ /usr/local/bin/yarn --version
1.22.19

from time4apint.

Related Issues (14)

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.