Skip to content

Running Lic Locally

Remi Gagne edited this page Mar 2, 2019 · 1 revision

Lic is built using Node.js, which you'll need to run Lic on your machine and to play with the code or contribute to the project. You will also need a copy of the LDraw parts library. If you're not familiar with Node, it's pretty easy:

  • Install Node.js
  • Check out a copy of Lic from GitHub
  • Create a symbolic link in the checked out web_lic directory called 'ldraw' that points to your LDraw directory
  • From the command line, in the checked out web_lic directory, run npm install. This will download a copy of all the 3rd party packages Lic depends on into a local node_modules directory.
  • If you already have a web server, run npm run build to compile Lic, then set up your web server to serve content from the web_lic directory.
  • If you don't have a web server, run npm run start to compile Lic and start up a simple development web server. This should also open a new browser window running Lic. If you change Lic's code, this window should automatically refresh with your latest changes.

If you run into any problems, please let me know.

Clone this wiki locally