-
Notifications
You must be signed in to change notification settings - Fork 40
Running MXCuBE3
Warning
This page is now deprecated.
The up-to-date documentation can be found at:
Its recommended to get a Technical overview before installing and running the application. All that is needed to run the application is to start the server and point your browser to http://localhost:8081, which will serve the prebuilt client (if any). The client is not built if nothing appears or you get a "404 page not found" error when browsing localhost:8081. Follow the steps in running the client to build a client or to run a development version of the client
python mxcube3-server -r test/HardwareObjectsMockup.xml
2018-07-09 11:41:56,208 |queue_exec|INFO | Module load, probably application start
2018-07-09 11:41:56,208 |INFO | Module load, probably application start
2018-07-09 11:41:56,338 |HWR |INFO | initializing camera object
.
.
.
2018-07-09 11:41:56,503 |HWR |INFO | Registering function Native.queue_update_result as XML-RPC function queue_update_result
2018-07-09 11:41:56,507 |HWR |INFO | Coult not initialize video from /dev/video1, error was: Cannot open video device /dev/video1, path do not exist. Make sure that the v4l2loopback kernel module is loaded (modprobe v4l2loopback). Falling back to MJPEG.
2018-07-09 11:41:56,508 |HWR |INFO | MXCuBE 3 initialized, it took 0.4 seconds
Install the necessary dependencies by issuing:
npm install
And then, run webpack in development mode:
npm start
Open a web browser a go to http://localhost:8090.
Or for generating a production bundle:
npm run build
Open a web browser a go to http://localhost:8081.