File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,12 @@ Standalone release has been installed into $STANDALONE_INSTALL_PREFIX/lib/coder-
86
86
87
87
Extend your path to use coder:
88
88
PATH="$STANDALONE_INSTALL_PREFIX /bin:\$ PATH"
89
- Then run with:
90
- coder
89
+ Then run Coder (temporary):
90
+ coder server --dev
91
+ Or run a production deployment with PostgreSQL:
92
+ CODER_PG_CONNECTION_URL="postgres://<username>@<host>/<database>?password=<password>" \
93
+ coder server
94
+
91
95
EOF
92
96
}
93
97
@@ -100,14 +104,14 @@ To run Coder as a system service:
100
104
101
105
# Configure the PostgreSQL database for Coder
102
106
sudo vim /etc/coder.d/coder.env
103
-
104
107
# Have systemd start Coder now and restart on boot
105
108
sudo systemctl enable --now coder
106
109
107
110
Or, run a temporary deployment (all data is in-memory
108
111
and destroyed on exit):
109
112
110
113
coder server --dev
114
+
111
115
EOF
112
116
}
113
117
@@ -342,8 +346,8 @@ install_standalone() {
342
346
echoh " Installing v$VERSION of the $ARCH release from GitHub."
343
347
echoh
344
348
345
- fetch " https://github.com/coder/coder/releases/download/v$VERSION /coder_$VERSION_$OS_$ ARCH .tar.gz" \
346
- " $CACHE_DIR /coder_$VERSION_$OS_$ ARCH .tar"
349
+ fetch " https://github.com/coder/coder/releases/download/v$VERSION /coder_${VERSION} _ ${OS} _ ${ ARCH} .tar.gz" \
350
+ " $CACHE_DIR /coder_${VERSION} _ ${OS} _ ${ ARCH} .tar"
347
351
348
352
# -w only works if the directory exists so try creating it first. If this
349
353
# fails we can ignore the error as the -w check will then swap us to sudo.
You can’t perform that action at this time.
0 commit comments