SebLeich / storage-manager-2.0

web app for 3d bin packing and loading optimization
47 stars 11 forks source link

How to run this program on a server or locally? #13

Closed chaeheekang closed 1 year ago

chaeheekang commented 1 year ago

I want to run this program on the server or locally, what should I do? My server environment is ubuntu 20.04 and node version is v14.21.3. The npm version is 6.14.18. I installed npm and run npm start runand I get the following error. image I think I'm getting an error related to crbug, but I installed google-chrome on my server and I get this error. Is there any solution?

SebLeich commented 1 year ago

The issue is that the npm command serve in the main branch still tries to run all tests before starting the development server. Since I introduced e2e tests with protractor, that will not work on a server. That issue is already removed in the current feature branch I'm working on. To run the storage manager locally, you can do one of the following things:

If you want to use the npm run start command, then:

If you want to do no adjustments, then:

To host the application on a web server, then: