- Theme : Atom One Dark
- Icon Theme : Material Icon Theme
- Font : Monospace
- Extensions Installed :
- Bracket Pair Colorizer 2
- C# Intellisense
- C/C++ Intellisense
- Code Runner
- Draw.io Integration
- Language Support for Java(TM) by Red Hat
- Markdown All in One
- NPM Intellisense
- PowerShell
- Python Intellisense
- VSCode Action Buttons
- Rust-Lang
- Google Drive Upload
- Languages Installed :
CS_VERSION | 3.11.0 |
---|---|
AUTH_TYPE | Code-Server login type: {password, none} |
PASSWORD | Code-Server login password (If AUTH_TYPE=password) |
CODESERVER_PORT | Code-Server web access port |
CUSTOM_HOME | Custom home directory for Heroku |
WORKSPACE_DIR | Code-Server working directory |
NGROK_TOKEN | Ngrok Token |
- For Heroku Users :
- Hit the Heroku Deploy button on the forked repo's readme.
- [ ! ] Set
AUTH_TYPE
value tonone
if you dont want any login password prompt.
- For Non-Heroku Users :
Edit & Run Command :
docker run --name code-server -e AUTH_TYPE="password" -e PASSWORD="samplepass" -e CODESERVER_PORT="9870" -e NGROK_TOKEN="<YOUR NGROK TOKEN>" -d -p 8080:9870 vital987/code-server
- [ ! ] Set
AUTH_TYPE
value tonone
if you dont want any login password prompt.
- Open the heroku app URL, non-heroku users, port-forward the using Ngrok:
ngrok http $CODESERVER_PORT
- Login with the password (value of $PASSWORD).
- Buttons present at the bottom bar :
- ↻ : Refresh the buttons.
- ClearWorkspace : Deletes all the folders in workspace directory.
- ResetWorkspace : Resets the workspace folder with all sample files.
- [ ! ] The buttons need to be refreshed everytime after use.