Comments (13)
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.
PS : I guess I'm missing the build of the TS part, but I did not find the updated documentation on this ... 😅
from time4apint.
@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.
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.
I merged it all into the gaia
branch in this commit.
from time4apint.
Oh I see 😅 ... should we ignore the web
branch now then ?
from time4apint.
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.
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.
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.
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.
Actually, doing python web.py
works already. But thanks ! I'll use the correct yarn then ...
from time4apint.
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.
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)
- Arguments for `BlockIteration.speedup` method HOT 7
- Speedup for $K=0$ HOT 5
- Factor with cost-relevant operator HOT 6
- Presentation details HOT 2
- Vector computation not compatible with grid coarsening (yet ...) HOT 1
- Task costs are partially hardcoded in `taskGraph.py`
- Hybrid doc and result column HOT 1
- Sponsors logo from main markdown page not showing HOT 3
- Possibility to add caption text (markdown format) for the plots HOT 2
- Missing mardown support for code snippets HOT 1
- Allow folder structure for Webapps HOT 1
- Problem with relative path for the app HOT 1
- PintRun expensive even for nBlocks=10 and nIter=10 HOT 2
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 time4apint.