ClassCAD Server
#
Prerequisites#
ClassCAD application file (ccapp)Regardless of the host platform you use, you need the ClassCAD application package, the so-called class file (ccapp). This file contains the ClassCAD business logic. Without it you will not be able to start the ClassCAD server.
Go to the member area on this page and you will find the download links.
⚠️ The ccapp file contains personalised data and should therefore be treated confidentially. Please do not include it in the version management and do not pass it on to third parties.
#
Node and npm- To install the ClassCAD binaries, npm must be installed.
- To be able to run the server afterwards, node.js is required.
#
RecommendationsThe following system properties should be fulfilled in order for the server to operate properly.
- >20GB disk space, ClassCAD requires disk memory for local, temporary states.
- >2GB of memory per ClassCAD Instance
- 1 CPU Core per ClassCAD Instance
#
WindowsBy running the following commands in a directory of your choice the required Windows binaries will be installed. Make sure your console window points to the intended working directory.
To test the installation please execute the following command in a terminal window and you should see the help message. The current working directory needs to be the root of your package.
Now, you're ready to start the ClassCAD Server. Make sure to provide the proper ccapp package path to the --ccappfile option. The path can be either relative to the package root or absolute.
Check the status of the ClassCAD server.
That's it, now you can connect your first client to the Windows server.
#
LinuxWe recommend using Docker to set up the server on Linux. If you still want to install ClassCAD directly on a Linux machine, please follow the instructions below.
We assume no liability for the following instructions. To use ClassCAD, additional packages must be installed via
apt
. You are responsible for ensuring that your system is not affected by this.
Ubuntu 20.04, 22.04 -- x64
Ubuntu 20.04, 22.04 -- arm64
@classcad/linux-arm64 does not support DXF/SVG export!
#
Mac OSPlease use Docker and the package @classcad/linux-arm64
to get started.
#
DockerThe following dockerfile gives you instructions about all steps needed to get a running ClassCAD server on Ubuntu.
Dockerfile Ubuntu 22.04
- Please do not forget to replace
PATH-TO-CCAPP-FILE
with the path to your downloaded class file. - Please do not forget to bind the port when starting the docker container
- @classcad/linux-arm64 does not support DXF/SVG export!
Optionally you can use the following docker-compose file to start the ClassCAD server.
Docker-compose
After starting a docker container with the docker file from above, the ClassCAD server should be online. Check the status of the ClassCAD server.
That's it, now you can connect your first client to the docker container server.