Skip to content

replace welcome page by workspace readme at installation time #4567

Answered by hecnavsanz
hecnavsanz asked this question in Q&A
Discussion options

You must be logged in to vote

Thnx Joe .. it gave to me some ideas to solve this issue:

Basically to automate this when deploying code-server:

  1. Install code-server: curl -fsSL https://code-server.dev/install.sh | sh
  2. Install code-server extensions: code-server --install-extension ...
  3. Deploy custom config.yaml at /home/<user>/.config/code-server directory:
--- config.yaml
bind-addr: <host_pub_ip>:443
auth: none
cert: true
  1. Create workspaces directory: mkdir /home/<user>/.local/share/code-server/User/Workspaces
  2. Deploy custom coder.json at /home/<user>/.local/share/code-server:
# coder.json
{
  "query": {
    "folder": "/labs"
  },
  "lastVisited": {
    "url": "/home/<user>/.local/share/code-server/User/Workspaces/lab…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@hecnavsanz
Comment options

@jsjoeio
Comment options

Comment options

You must be logged in to vote
1 reply
@jsjoeio
Comment options

Answer selected by jsjoeio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants