1 Star 0 Fork 21

Operations / casaos

forked from Gitee 极速下载 / casaos 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
DEVELOPING.md 1.48 KB
一键复制 编辑 原始数据 按行查看 历史

CasaOS Development

Here we will describe the steps required to setup a development environment with CasaOS.

Setting up a development environment

In this section we will walk you through the general process of setting up your development environment to get started.

Pre-requisites

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

1. Fork the Repo

Fork the repo onto your own GitHub account for developing.

2. Clone the repo down

  1. Navigate into your go workspace (check with go env GOPATH).
  2. 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.
  3. Clone down the repo with the following: git clone --recurse-submodules --remote-submodules https://github.com/<your GitHub Username>/CasaOS.git

3. Install dependencies

  1. cd UI
  2. yarn install
  3. yarn build
  4. cd ..
  5. go get
1
https://gitee.com/anuxiy/casaos.git
git@gitee.com:anuxiy/casaos.git
anuxiy
casaos
casaos
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891