This package has been deprecated

Author message:

@awvinf/classcad-linux-x64 has been deprecated, please use @classcad/linux-x64

@awvinf/classcad-linux-x64

0.0.0-beta.7 • Public • Published

The ClassCAD Binaries


⚠️ Currently only available for beta users!


Getting Started

  1. Go to buerli.io, sign up for a user account and download the required application package. Place the downloaded ccapp in a secure folder on your local system.

    Since this file contains sensitiv data, be sure to keep it private and do not commit it to any source control. The ccapp package should not be distributed.

    ⚠️ Important! The user area of buerli.io is under construction and not available yet!

  2. The following dockerfile gives you instructions about all steps needed to get a running ClassCAD server on Ubuntu:18.04. Since we are in BETA stage with the ClassCAD Linux migration, it is recommended to run this image in a docker container instead of a local installation.

    FROM ubuntu:18.04
    
    # Install linux dependencies
    RUN apt-get update && apt-get install -y \
       libicu60 \
       libglu1-mesa-dev \
       ocl-icd-opencl-dev \
       locales
    
    # Language settings
    ENV LANG C
    ENV LANGUAGE C
    ENV LC_ALL C
    
    # Install node and npm
    RUN apt-get install -y curl
    RUN curl -sL https://deb.nodesource.com/setup_12.x | bash
    RUN apt-get install -y nodejs
    
    # Install ClassCAD
    ENV CC_DIR /classcad
    RUN mkdir -p $CC_DIR
    WORKDIR $CC_DIR
    
    RUN npm init -y
    RUN npm i @awvinf/classcad-linux-x64
    RUN chmod +x ./node_modules/@awvinf/classcad-linux-x64/ClassCADInstance
    
    # Copy runtimes to libs
    RUN cp ./node_modules/@awvinf/classcad-linux-x64/libboost_thread.so.1.65.1 /lib/x86_64-linux-gnu
    
    # Copy the .ccapp downloaded from buerli.io.
    # Replace <PATH-TO-CCAPP-FILE> with the path pointing to the downloaded .ccapp file.
    COPY <PATH-TO-CCAPP-FILE>.ccapp modeling.ccapp
    
    # Start the server
    EXPOSE 8182/tcp
    CMD npx classcad --ip 0.0.0.0 --port 8182 --instances 5 --ccappfile modeling.ccapp
    
    # Please do not forget to bind the port when starting the docker container
    
  3. Check the status of the ClassCAD server which should now be available under http://localhost:8182

    http://localhost:8182/status
    
  4. You are now ready to build CAD applications for the web. Have a look at the buerli api documentation to get started https://buerli.io/api.

Readme

Keywords

none

Package Sidebar

Install

npm i @awvinf/classcad-linux-x64

Weekly Downloads

6

Version

0.0.0-beta.7

License

SEE LICENSE IN AWV_BINARY_CODE_LICENSE.md

Unpacked Size

132 MB

Total Files

64

Last publish

Collaborators

  • awv-build
  • dm385
  • drcmda
  • phipsy7