Giter VIP home page Giter VIP logo

balenacodeserver's Introduction

vs code logo balenaCodeServer

balenaCodeServer is a free Visual Studio Code based IDE that runs in your browser, served from your Raspberry Pi!


Equipment Needed

  • Raspberry Pi (tested on Pi3 B+ and Pi4)

Install

Running this project is as simple as deploying it to a balenaCloud application. You can deploy it in one click by using the button below:

balena deploy button


Using balenaCodeServer

  • Type <device-ip>:8080 in a browser window (You can find your device IP address in the Balena Console)

  • The default password for servers deployed with the balena deploy button is b@13n4!

  • The default sudo password is b@13n4!sudo

  • else the password for both is password

  • The GitHub and Balena CLIs are pre-installed. Authentication instructions here.


Device Variables

Env Variable / Default Value Function
PORT=8080 code-server port. Default is 8080.
PUID=1000 for UserID
PGID=1000 for GroupID
SHELL=/usr/bin/zsh Sets the default terminal shell to ZSH. To use BASH change to '/bin/bash'
TZ=Europe/London Specify a timezone to use EG Europe/London, America/Los_Angeles
PASSWORD=password Optional web gui password, if PASSWORD or HASHED_PASSWORD is not provided, there will be no auth.
HASHED_PASSWORD= Optional web gui password, overrides PASSWORD, instructions on how to create it is below.
SUDO_PASSWORD=password If this optional variable is set, user will have sudo access in the code-server terminal with the specified password.
SUDO_PASSWORD_HASH= Optionally set sudo password via hash (takes priority over SUDO_PASSWORD var). Format is $type$salt$hashed.
PROXY_DOMAIN=code-server.my.domain If this optional variable is set, this domain will be proxied for subdomain proxying.
DEFAULT_WORKSPACE=/config/workspace If this optional variable is set, code-server will open this directory by default

balenacodeserver's People

Contributors

sameureka avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.