Our state of the art Gantt chart


Post by ce.alicanonal »

hi I want to use the try gantt version. however, I cannot use it because there are some files in the test folder. css files, it also doesn't see the cruddemo.js and cruddemo.css files in index.html. not in the folder. What should I do? screenshots are attached

Attachments
ertertert.png
ertertert.png (192.07 KiB) Viewed 1252 times

Post by Maxim Gorkovsky »

Hello.
Reproduced, I opened ticket here: https://github.com/bryntum/support/issues/1495 Thank you for report.

To fix the demo follow these steps:

  1. Exclude missing files from project
  2. Modify webpack.config.js, adding resolve after js entry:
            entry : {
                cruddemo : path.join(__dirname, 'app.js')
            },
            resolve: {
                symlinks: false
            },
  3. Build js app:
    cd gantt-2.1.9/examples/aspnet/BryntumGanttCrudDemo/app/ && npm i && npm run build

After that you should see working application page.


Post by ce.alicanonal »

I could not understand step 3, can you explain a little?


Post by Maxim Gorkovsky »

Step 3 shows how to build js application using node. You'll need NodeJS installed locally along with NPM. When you have those installed, navigate that path and run the command.
Have I answered your question? If no which part of step 3 did you not understand?


Post by ce.alicanonal »

u see images

Attachments
images1
images1
3.png (131.99 KiB) Viewed 1233 times
images2
images2
2.png (207.88 KiB) Viewed 1233 times
images3
images3
1.png (213.24 KiB) Viewed 1233 times

Post by ce.alicanonal »

Where am I doing wrong

Attachments
4.png
4.png (46.46 KiB) Viewed 1232 times

Post by Maxim Gorkovsky »

On the last image you're running node console which is a JS interpretator. Instead you need to use CMD to run it. Obviously you need to replace path which I posted with a full path to your js application.


Post by ce.alicanonal »

Thank you. I did it. It is coming now. I need to configure the database. Thank you.


Post Reply