This repository contains the source code of the official website of SolveSpace, a parametric 2d/3d CAD.
The templating engine that generates this website is written in Perl and requires the GD
module.
On Debian, Ubuntu, and compatible distributions the dependencies can be installed with:
apt-get install perl-base libgd-gd2-perl
When using Homebrew, the dependencies can be installed with:
brew install perl libgd
cpan install gd
On Windows 10, the dependencies can be installed using the Windows Subsystem for Linux, by first installing WSL and then following the steps for Linux.
On any version of Windows, the dependencies can be installed using Cygwin:
git
make
perl
, perl-GD
Before you start, fork the solvespace-web
repository and clone it into any convenient directory:
git clone git@github.com:USERNAME/solvespace-web
Then, verify that the prerequisites are installed correctly by running make
. If this command
succeeds, open the html/index.html
file in your browser.
You can modify the website as follows:
.pl
file to modify a page, or add an asset to pics
, vids
or dl
;make
;