File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,33 @@ This repository contains source code for Coder V2. Additional documentation:
35
35
36
36
The ` coder ` CLI binary will now be available at ` $GOPATH/bin/coder `
37
37
38
+ ### Running
39
+
40
+ After building, the binaries will be available at:
41
+ - ` dist/coder_{os}_{arch}/coder `
42
+
43
+ For the purpose of these steps, an OS of ` linux ` and an arch of ` amd64 ` is assumed.
44
+
45
+ To manually run the server and go through first-time set up, run the following commands in separate terminals:
46
+ - ` dist/coder_linux_amd64/coder daemon ` <-- starts the Coder server on port 3000
47
+ - ` dist/coder_linux_amd64/coder login http://localhost:3000 ` <-- runs through first-time setup, creating a user and org
48
+
49
+ You'll now be able to login and access the server.
50
+
51
+ To create a project, run:
52
+ - ` dist/coder_linux_amd64/coder projects create -d /path/to/project `
53
+
38
54
### Development
39
55
40
56
- ` ./develop.sh `
41
57
42
- The ` develop.sh ` script runs the server locally on port ` 3000 ` , and runs a hot-reload server for front-end code on ` 8080 ` .
58
+ The ` develop.sh ` script does three things:
59
+
60
+ - runs ` coder daemon ` locally on port ` 3000 `
61
+ - runs ` webpack-dev-server ` on port ` 8080 `
62
+ - sets up an initial user and organization
63
+
64
+ This is the recommend flow for working on the front-end, as hot-reload is set up as part of the webpack config.
43
65
44
66
## Front-End Plan
45
67
You can’t perform that action at this time.
0 commit comments