blob: cd21e90dc65c989f263d0558de7f663579f106f3 [file] [log] [blame] [view]
avm99963ea37fdf2021-02-03 01:27:13 +01001# Set up the development environment
2Before starting to develop, you must set up your device. This is what you must
3do:
4
51. [Install Go](https://golang.org/doc/install). On Mac, you can install it
6with [Homebrew](https://brew.sh/) by running `brew install go`.
7 - This is because the build script uses a Go program to generate the
8 manifest.
avm99963efce2102021-03-23 23:23:26 +010091. Install the genmanifest Go program. In order to do this, run
10`go install gomodules.avm99963.com/webext/genmanifest@latest`.
Adrià Vilanova Martínez3465e772021-07-11 19:18:41 +0200111. [Install NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm/).
Adrià Vilanova Martínez8aad84f2021-08-20 15:11:38 +0200121. Now, you must clone the git repository to your device to retrieve the
13extension source code. To do that,
14[go here](https://gerrit.avm99963.com/admin/repos/infinitegforums) and execute
15the "clone with commit-msg hook" command listed there (if you sign in you'll see
16several options: cloning via anonymous HTTP, HTTP, or SSH).
Adrià Vilanova Martínez3465e772021-07-11 19:18:41 +0200171. That's it! If you're using a Mac, you're out of luck, because you must
avm99963ea37fdf2021-02-03 01:27:13 +010018perform some more steps.
19
20## Mac-specific configuration
21On a Mac, you must also follow these steps:
22
23TODO(Issue #18): add macOS steps