Skip to main content

Installation

Requirements

  • Make sure you have Git installed

  • Note: before installing new packages, make sure your current packages are up-to-date to avoid conflicts.


OpenCircuits uses yarn to manage building and testing with dependencies. Yarn is a superset of NPM and is the recommended manager.

Additionally, we use Golang as our backend language. Choose your system below for instructions on installing these.

note

It's highly recommended to use (the admittedly terrible) built-in Command Prompt. We have yet to find a working solution with WSL, but please feel free to let us know if you figure it out!

NPM

Install the LTS version of npm here and make sure it works by typing npm --version in the command prompt.

(Note: after installing it make sure to restart command prompt so that the command gets recognized)

Then, to install Yarn, run

npm install -g yarn

And again, make sure it works by typing yarn --version.

warning

If you run into ERR: cb.apply is not a function: click here

Go

Download and run the MSI installer here

Restart command prompt and verify that it worked by typing go version.


Installation

After sucessfully installing the required dependencies for the project, you can now install OpenCircuits locally!

First, you have to clone the repository to your system

git clone https://github.com/OpenCircuits/OpenCircuits

Then, you can navigate to it

cd ./OpenCircuits

And finally, run the following to install the project dependencies!

yarn