Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.25 KB

INSTALL.md

File metadata and controls

33 lines (23 loc) · 1.25 KB

Install

Once the source code is ready, we can start to setup the environment and run the test script.

Environment setup

This artifact requires Python 3.7+, pip, npm, and Node.js 12+. If you are using Ubuntu 18.04 or 20.04, you can simply install them by running:

$ ./ubuntu_setup.sh

At the same time, other Unix-like operating systems(e.g., macOS) are also supported, to install Python, simply follow the instructions from the official website of Python. For Node.js, please check out the official website of Node.js to install it.

After the packages are successfully installed, you can setup the environment by cd into the source code folder and run

$ ./install.sh

The script install.sh will install a list of required Python and Nodejs dependencies. Once finished, the environment is setup and we are ready to go.

Verify the installation

You can run the script ObjLupAnsys_test.py to verify the installation. The command is:

$ python3 ./ObjLupAnsys_test.py

If the environment is successfully set up, you should be able to see the tests are finished without errors. The end of the outputs should be like:

Ran 3 tests in XXXs

OK