Here we will describe the steps required to setup a development environment with CasaOS.
In this section we will walk you through the general process of setting up your development environment to get started.
The following must be installed in order to get started. The details of how to install them is outside the scope of this doc, but generally they should be able to be installed with your systems package manager (apt, yum, brew, choco, etc).
- Go > v1.17.0
- yarn
- node.js
Fork the repo onto your own GitHub account for developing.
- Navigate into your go workspace (check with
go env GOPATH
). - Navigate to the appropriate path for github. It should look something like this:
<path from GOPATH>/github.com/<GitHub Username>/
. If it doesn't exist create it. - Clone down the repo with the following:
git clone --recurse-submodules --remote-submodules https://github.com/<your GitHub Username>/CasaOS.git
cd UI
yarn install
yarn build
cd ..
go get