https://linen.dev logo
Join Discord
Powered by
# general
  • t

    timoooooo

    05/16/2022, 6:15 PM
  • b

    Ben

    05/16/2022, 6:30 PM
    I'm going to hang out in the voice channel at 3:30 PM CT working on some Docker templates.
  • b

    Ben

    05/31/2022, 8:15 PM
    Working on a one-line install script for Coder. Feel free to test it out. Should work everywhere except Windows
    Copy code
    sh
    # dry run
    curl https://raw.githubusercontent.com/coder/coder/bpmct/installscript/install.sh | sh -s -- --dry-run
    
    # actually install
    curl https://raw.githubusercontent.com/coder/coder/bpmct/installscript/install.sh | sh
    I still need to test a few more things & host it on coder.com. It's in an open PR
    k
    i
    • 3
    • 3
  • b

    Ben

    06/08/2022, 6:02 PM
    It's been a while since we've done an update, but we've add some new features! - Full dashboard (workspaces, templates, users) - Workspace applications (run apps such as code-server, noVNC, etc) - Workspace schedule (auto start and shutdown workspaces) I'm sure I'm missing some other cool things too. https://github.com/coder/coder
    coder-0-6-2
  • t

    timoooooo

    06/08/2022, 6:36 PM
    This is awesome!
  • b

    Ben

    06/08/2022, 11:19 PM
    Also - if you're working on custom templates for Coder, we'd love to integrate them into one of our examples in the repo! Submit a PR with a high-quality template and we'll reward with a gift card
  • b

    Ben

    06/09/2022, 6:46 PM
    @timoooooo (and others): not sure if you saw this issue but would love your thoughts, and if you would use it https://github.com/coder/coder/issues/2108
  • e

    eric

    06/10/2022, 5:25 PM
    i'm curious about how the
    terraform.tfstate
    file is handled with Coder - is the state data immediately sent to the postgres DB upon running
    coder create
    ?
    d
    s
    • 3
    • 12
  • a

    ankurpauldev

    06/11/2022, 12:56 PM
    Is Windows still a developer friendly OS @Ben 😶! Microsoft playing games.
    b
    • 2
    • 1
  • b

    Ben

    06/13/2022, 12:12 AM
    My project this weekend: Set up my old Mac Mini as a Coder "dev" server so I can connect and do iOS development from any device (e.g my iPad or Linux Thinkpad) Here's the template: https://github.com/bpmct/coder-templates/tree/main/shared-mac. A bit rough but I plan on cleaning it up and adding support on creating system users per-workspace. I might also add wakeonlan support 😛
    j
    • 2
    • 1
  • j

    jsjoeio

    06/13/2022, 2:57 PM
    friendly reminder: this event is happening today! hope to see you there 👋🏼 https://discord.com/channels/747933592273027093/984553991545446411/984561256230961162
  • c

    colin (rust enthusiast)

    06/14/2022, 5:10 AM
    really enjoying codepilot tbh
  • l

    lou

    06/14/2022, 2:20 PM
    Codepilot is awesome, I havent gotten a chance to dig into it but I have heard great things.
  • g

    Grey

    06/15/2022, 1:02 PM
    I'm looking for a non docker template that will allow me to deploy a simple code-server temporarily for students and mentees that I periodically assist with projects.
    b
    • 2
    • 16
  • l

    lou

    06/15/2022, 4:09 PM
    Have you looked at GitHub Codespaces?
  • i

    imcoderlg

    06/15/2022, 5:13 PM
    That seems like a Docker container anyway. You can get AWS Lambda VMs and control it via Coder ofc.
  • l

    lou

    06/15/2022, 5:16 PM
    Oh yeah ... forgot it had to be something other than docker - codespaces is definitely a docker based system
  • i

    imcoderlg

    06/15/2022, 5:17 PM
    Maybe just use a VM? Cloud/local...
  • l

    lou

    06/15/2022, 5:27 PM
    Sounds like the best idea, I have not really had a negative experience with Docker but if you had to use something other than Docker ... VM or spinning up a cloud instance
  • g

    Grey

    06/15/2022, 5:37 PM
    I was just shown a Terraform interface for proxmox to create and destroy LXC containers on demand.
  • d

    Dean

    06/15/2022, 5:38 PM
    I know universities often just use a couple of giant boxes and create a linux user for each student
  • d

    Dean

    06/15/2022, 5:38 PM
    I don't think it would be difficult to write a terraform template that SSH's in as root, creates a user for each workspace and starts the agent as that user
  • l

    lou

    06/15/2022, 5:39 PM
    You could also use ansible for it
  • d

    Dean

    06/15/2022, 5:39 PM
    probably what would be the most difficult part without using a container would be to allocate a unique port to code-server which could be defined in the template
  • l

    lou

    06/15/2022, 5:41 PM
    Docker would be so good for that and you can map out all the ports with each container to give everyone their own space.
  • l

    lou

    06/15/2022, 5:41 PM
    but if Docker is out of the question the solutions get a bit hacky...
  • d

    Dean

    06/15/2022, 6:02 PM
    you shouldn't need to port-forward the code-server instances through docker in coder, they should be accessible through the web UI without e.g.
    docker run -p 3000:3000
  • l

    lou

    06/15/2022, 6:37 PM
    Sorry, I was in a meeting and misread that … this is the way
  • n

    Noah-Huppert

    06/16/2022, 5:50 PM
    Wishlist: It would be cool if I could temporarily share a workspace w another coder user without making that coder user an admin. So like if I was pair programming my coworker they could run commands in my workspace.
    b
    • 2
    • 3
  • t

    toonlink

    06/16/2022, 9:54 PM
    i'm curious as to if there's a way to limit how many workspaces a user can create?
12345...96Latest