GithubHelp home page GithubHelp logo

coder / deploy-code-server Goto Github PK

View Code? Open in Web Editor NEW
841.0 18.0 630.0 14.83 MB

Deploy code-server to the cloud with a few clicks ☁️ πŸ‘¨πŸΌβ€πŸ’»

License: MIT License

Dockerfile 17.39% Shell 52.72% TypeScript 27.93% JavaScript 1.97%

deploy-code-server's Introduction

deploy-code-server πŸš€

A collection of one-click buttons and scripts for deploying code-server to various cloud hosting platforms. The fastest way to get a code-server environment! ☁️

Name Type Lowest-Price Plan Deploy
Coder Coder Anything Open Source read the docs
AWS EC2 AWS EC2 VM Free Tier, 1 CPU, 1 GB RAM see guide
DigitalOcean DigitalOcean VM $5/mo, 1 CPU, 1 GB RAM see guide
Vultr Vultr VM $3.50/mo, 1 CPU, 512 MB RAM coming soon
Linode Linode VM $5/mo, 1 CPU, 1 GB RAM see guide
Railway Railway Container Free, Shared CPU, 1 GB RAM πŸš€ see guide
Heroku Heroku Container Free, 1 CPU, 512 MB RAM see guide
Azure App Service Azure App Service Container Free, 1 CPU, 1 GB RAM see guide
Oracle Cloud Oracle Cloud Terraform / OCI Free Tier Support see guide

code-server on a VM vs. a Container

  • VMs are deployed once, and then can be modified to install new software
    • You need to save "snapshots" to use your latest images
    • Storage is always persistent, and you can usually add extra volumes
    • VMs can support many workloads, such as running Docker or Kubernetes clusters
    • πŸ‘€ Docs for the VM install script
  • Deployed containers do not persist, and are often rebuilt
    • Containers can shut down when you are not using them, saving you money
    • All software and dependencies need to be defined in the Dockerfile or install script so they aren't destroyed on a rebuild. This is great if you want to have a new, clean environment every time you code
    • Most app platforms do not support running docker or virtual volume mounts in the container.
    • Storage may not be persistent. You may have to use rclone to store your filesystem on a cloud service. Documented below:
    • πŸ“„ Docs for code-server-deploy-container

deploy-code-server's People

Contributors

afmsavage avatar aknbdev avatar bpmct avatar brunoquaresma avatar chengxuncc avatar coffee-cup avatar dependabot[bot] avatar elliott-king avatar forumplayer avatar gbraad avatar ghuntley avatar hjue avatar hrichiksite avatar hunterheston avatar itsnydell avatar jsjoeio avatar khaki32 avatar rpxs avatar sauravdharwadkar avatar sksmta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deploy-code-server's Issues

Base install does not contain a Procfile for heroku

I cloned the repo and added python buildpack.

When I try to spin up a dyno, I am getting an error for no Procfile but I don't understand what to put in the procfile, pointing it to the install locations is not working.

how to change work dir

so i want to put all my git clones files in one single dir
should I add this in the # Install stuff u want or replace here in # Fix permissions for code-server

RUN mkdir -m 777 'work'
RUN chmod +x 'work'
RUN %cd 'work'

Opening Ports?

How would I open ports on Railway? I'm running live-server for my HTML projects, but I can't seem to access certain ports. Services like ngrok and localtunnel work, but they always seem to stop running after a while. Google Cloud lets you open ports very easily, so is there a similar way to do it for Railway.

Thanks!

Haxe doesnt work very well

secifically HaxeFlixel, OpenFL, and Lime


⬇️ Here are the links to the websites ⬇️

Haxe β€Žβ€β€β€Ž β€Žβ€Žβ€β€β€Ž β€ŽHaxeflixelβ€Žβ€β€β€Ž β€Žβ€Žβ€β€β€Ž β€Žβ€Žβ€β€β€Ž β€ŽOpenFLβ€Žβ€β€β€Ž β€Žβ€β€β€Žβ€Žβ€Žβ€β€β€Ž β€Žβ€Žβ€β€β€Ž β€ŽLime
β€Žβ€β€β€Ž β€Žβ€β€β€Žβ€Žβ€β€β€Ž β€Žβ€β€β€Žβ€Žβ€Žβ€Žβ€Žβ€Ž β€β€β€Ž β€Žβ€β€Žβ€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Žβ€Žβ€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Žβ€β€β€Ž β€Ž β€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Žβ€Žβ€β€β€Ž β€Žβ€β€β€Žβ€Žβ€β€β€Ž β€Žβ€β€β€Žβ€Žβ€β€β€Žβ€β€β€Ž β€Žβ€β€β€Žβ€Žβ€β€β€Žβ€Žβ€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Žβ€β€β€Ž β€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Žβ€Žβ€β€β€Ž β€Žβ€β€β€Žβ€Žβ€β€ β€Žβ€β€β€Ž β€Žβ€β€β€Žβ€Žβ€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Ž

When I test my haxeflixel game using
lime test html5
it did everything it was supposed to do, it built the game and opened up a server on port 3000 with the game loaden up on it so i could test it

only problem was that it didn't serve any of the content except for the .html file it generated even though it was also supposed to serve a .html file a .png file and .js file.

so i got a console error that said this

❌ Failed to load resource: the server responded with a status of 500 ()   4K-Engine.js:1

❌ Uncaught ReferenceError: lime is not defined                            3000:94
     at 3000:94

❌ Failed to load resource: the server responded with a status of 500 ()   favicon.png:1

The .js file

So what this means is it didn't serve the .js file which whas this one 4K-Engine.js

Note: (4K-Engine is the name of the game im developing btw) here is a link to the github repo for my game βͺβͺβͺ clone it if you want to reproduce it which i will explain how to do in a second

the .js file is what had everything the game needed to run

the .html file was the only thing that was actually served but its really useless without the 4K-Engine.js file here is why

πŸ”½ this part πŸ”½

❌ Uncaught ReferenceError: lime is not defined                            3000:94
     at 3000:94

is whining about some javascript code automatically embedded in the html tag
πŸ”½ here is the script tag im talking about πŸ”½

<script type="text/javascript">
	lime.embed ("4K-Engine", "openfl-content", 1280, 720, { parameters: {} });
</script>

Lime was defined in the 4K-Engine.js file but again the 4K-Engine.js file wasn't served
(Btw Lime is what is reccomended to build haxeflixel projects with)
and if you couldnt tell already lime is also used to embed the content into the webpage

The .png file

I dont really care about the fucking favicon logo since I don't really need it to load the game

reproducing the bug

Here is how you reproduce the bug

Open the games folder in code server so that it is the root directory

Open the integrated terminal

1 type this to automatically build and run a server withe the game loaded on it
lime test html5 (also it has to be this command)

2 then go to this url
url.codeserver.is.being.hosted.on/proxy/3000

3 open up the developer console (this is done differently with every web browser)

  • in google chrome you press Ctrl+Shift+I
    • then click the console tab
  • in firefox there is two ways
    • you can click Browser Console in the Web Developer sub menu
    • or you can press `Ctrl+Shift+J on your keyboard
  • idk how to do it on opera

btw

the only reason im not submitting this isuue on lime's github repo is because i haven't had this problem with any other web based ides like Gitpod and GoormIde and iv'e also had similar problems with other programming languages like java (also java is a bad example cuz of how ancient and hard to work with it is but it was the first example that came to mind so yeah) and even ad a similar problem when testing a vscode extension im developing which ill post an issue for in a few days cuz writing details issues is really time consuming so umm yeah


btw again

If this problem is my fault tell me cuz being educated is what keeps me from being a dumbass

Info

  • Operating System: ChromeOS
    • System Version: 89.0.4389.130 (Official Build) (64-bit)
  • Code Server Host: Railway
  • Code Server Version: 3.9.3
    • Vscode Version: 1.54.2

Push and pull from separate google drive subdirectories using rclone

I'm using heroku, so I need to use rclone and am using google drive as remote. In my google drive, I set a root folder to push and pull from. But whenever I start the container, it auto-pulls everything in that folder. But what if I wanted to

  1. open a blank project in code-server
  2. assign its remote to a new subdirectory in said root folder
  3. push changes and then be able to do the same thing for other projects

that way, if I start up the instance, I can selectively pull from any subdirectory (which are the projects) and then push to them as well. This would be more organized and efficient instead of pulling the entire folder. I'm sure there's a way to do this but couldn't find much in the rclone documentation.

Besides that, my experience using code-server has been really positive so far and as a student, heroku + rclone comes in handy too. Thanks for the detailed setup guide!

Docker and rclone?

Is there something I can add to the Dockerfile to get Docker CLI. I tried installing it, but it wouldn't work. I'm running it code-server on Railway. Also, is there a way to mount rclone? I keep running into fuse errors that I can't fix.

Thanks!

Red square around Russian letters

I am deploy code-server on linux machine, but when I type Russian letters, it highlights certain ones with a red square.
Is there any way to fix this?
image

can't access code-server on AWS

Hi, I'm unable to access my code-server on AWS; opened http port on the VM and in AWS security rule, I'm struggling to troubleshoot this one, the code-server and coder-redirecter are running, can you give me some tips here?

Error connecting to your code-server instance

I am trying to deploy code-server on a Hetzner cloud server... I expected this to be the same process as for digitalocean because after all it's just an Ubuntu server and there is also the option with Hetzner to specify User Data (i.e. the install script).

But when I navigate to the IP of the new server, I get the initial github link/authentication screen, and after agreeing to this, I then get:

Error connecting to your code-server instance
Ensure code-server is running and was properly started with the --link command line flag.

image

java not installing

Step 6/14 : RUN heroku plugins:install java

 ---> Running in 57dc79ca6c15

/bin/sh: 1: heroku: not found

The command '/bin/sh -c heroku plugins:install java' returned a non-zero code: 127

I also tried sudo apt-get install openjdk-8-jre which is mainly i want even that getting error

ENOMEM error.

Server was running slower since i opened it, and saw yesterday that my specs (server) says:
image

I'm asking myself how can some files have 230GB so far in size...

I also get errors such as:
image

This cause a lot of errors, such as ENOTEMPTY.
I googled that "killed error" and it resulted to ENOMEM, warn i get on downloading any package.

image

Zeet + Heroku integration

Hey guys! I appreciate all the work you've done on code-server and deploy-code-server, really fantastic. In case you want to support more platforms to deploy, I have done an integration with Zeet and Heroku (you have it too). In case you want to use it: here is the link to repo

I'm constantly updating it to support more platforms.
Best regards.

rclone not auto sync

hi there, i'm just trying deploy to heroku and notice that rclone seems like not auto sync and not displaying push or pull rclone button in editor.

here are 2 way try to reproduce:

  • first:
    • i'm deploy using deploy-code-server via heroku template
    • the value of RCLONE_AUTO_PULL and RCLONE_AUTO_PUSH im not set in heroku variable which by default is true
  • second:
    • deploy using deploy-code-server via heroku template
    • the value of RCLONE_AUTO_PULL and RCLONE_AUTO_PUSH im set in heroku to true

is there any wrong with my reproduce?

pip install requests gives error on heroku

Step 11/18 : RUN pip3 install requests

 ---> Running in 95687186f94c

Collecting requests

  Downloading https://files.pythonhosted.org/packages/29/c1/24814557f1d22c56d50280771a17307e6bf87b70727d975fd6b2ce6b014a/requests-2.25.1-py2.py3-none-any.whl (61kB)

Collecting certifi>=2017.4.17 (from requests)

  Downloading https://files.pythonhosted.org/packages/5e/a0/5f06e1e1d463903cf0c0eebeb751791119ed7a4b3737fdc9a77f1cdfb51f/certifi-2020.12.5-py2.py3-none-any.whl (147kB)

Collecting chardet<5,>=3.0.2 (from requests)

  Downloading https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl (178kB)

Collecting idna<3,>=2.5 (from requests)

  Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB)

Collecting urllib3<1.27,>=1.21.1 (from requests)

  Downloading https://files.pythonhosted.org/packages/09/c6/d3e3abe5b4f4f16cf0dfc9240ab7ce10c2baa0e268989a4e3ec19e90c84e/urllib3-1.26.4-py2.py3-none-any.whl (153kB)

Installing collected packages: certifi, chardet, idna, urllib3, requests

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/home/coder/.local/lib'

Check the permissions.

The command '/bin/sh -c pip3 install requests' returned a non-zero code: 1

I tried to install request at beginning and got this

[Question] How to Update

So, I am using this method of using this application, and it seems to me that although it gives notification of a new release is out, it doe not have the ability to update. If I am missing something, please tell me how to update to the most recent version. Thanks!

Can't install node modules

Hi, I deployed a code-server on railway. I successfully opened the port for a vanilla javascript.
But, when I start working on a react project, I always seems to failed on the npm install part.

Every time I tried to install node module, it will run a little bit, then killed the process.

This is the error I got (not the same package everytime)

npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@eslint/[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@typescript-eslint/[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12.13.0 || ^14.15.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0', npm: '>=6' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12.22.0 || ^14.17.0 || >=16.0.0' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >= 16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '^12 || ^14 || >=16' },
npm WARN EBADENGINE   current: { node: 'v15.14.0', npm: '7.7.6' }
npm WARN EBADENGINE }
Killed    .........] / reify:fsevents: sill reify mark deleted [ '/home/coder/project/node_modules/fse

I don't think this is the node version problem, because I redeployed it a few times with version 14 and still got killed during npm installation.

auto reset on heroku

why every 1 hour get auto reset from heroku??, how to solve it. The data that I coded disappeared instantly. help

add a CLI

Create a command-line tool for configuring & deploying code-server instances to the cloud. This aims to solve two problem:

  1. creating a new dev cloud environment is repetitive
  2. creating test environments for code-server (for testing issues) can be difficult - @jsjoeio's idea πŸ’‘

This will be good for creating consistent dev workspaces or test environments for code-server. For example

# launch an ubuntu server with nginx
$ lcs --ubuntu nginx
Creating...
Access your server at https://x.x.x.x:80
Password: asd832sd

# launch a blank ubuntu server and get SSH access
$ lcs --ubuntu blank
...

# launch an ubuntu server configured with code-server --link and 2 GB memory
$ lcs ubuntu --link --mem 2
...

# launch with custom Dockerfile
$ lsc ubuntu --link --dockerfile python/Dockerfile

I am planning on supporting this with the Vultr because of their developer-friendly API.

Error on Heroku

Item could not be created:
We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy.

JDK Downloading to deploy-code-server

In issue #21, I learned how to add node.js into the server, but am still struggling to find a way to do so with JDK 1.8, 11, 14, and 16, online. Could someone help me out please, it would mean a lot! Thanks!

Use Without cdr.co

How can I use this without being redirected to cdr.co? Cdr.co is bl!oc,.ked on my school computer (censoring that word for a reason)

How can I just use my digital ocean IP without redirect?

Coder-Server can't connect because of this Error

Hi,

Unfortunately the Code Server always crash, to fix it I need to restart the service. Can somebody please help??

     Memory: 781.5M
     CGroup: /system.slice/system-code\x2dserver.slice/[email protected]
             β”œβ”€21912 /usr/lib/code-server/lib/node /usr/lib/code-server
             β”œβ”€21931 /usr/lib/code-server/lib/node /usr/lib/code-server
             β”œβ”€21943 /usr/lib/code-server/lib/coder-cloud-agent bind --code-server-addr=127.0.0.1:34247
             β”œβ”€21959 /usr/lib/code-server/lib/node /usr/lib/code-server/vendor/modules/code-oss-dev/out/bootstrap-fork --type=ptyHost
             β”œβ”€22198 /usr/lib/code-server/lib/node /usr/lib/code-server/vendor/modules/code-oss-dev/out/bootstrap-fork --type=watcherServiceParcel
             β”œβ”€22212 /usr/lib/code-server/lib/node /usr/lib/code-server/vendor/modules/code-oss-dev/out/bootstrap-fork --type=extensionHost --uriTransformerPath=>
             β”œβ”€22247 /home/coder/mcdonalds_poc/cdk_patch_manager_asg_windows_2019/.venv/bin/python /home/coder/.local/share/code-server/extensions/ms-python.pyth>
             β”œβ”€22263 /usr/lib/code-server/lib/node /usr/lib/code-server/vendor/modules/code-oss-dev/extensions/json-language-features/server/dist/node/jsonServer>
             β”œβ”€22276 /usr/lib/code-server/lib/node /home/coder/.local/share/code-server/extensions/amazonwebservices.aws-toolkit-vscode-1.35.0/dist/src/ssmDocume>
             β”œβ”€22338 /usr/bin/bash
             β”œβ”€22429 /usr/lib/code-server/lib/node /home/coder/.local/share/code-server/extensions/amazonwebservices.aws-toolkit-vscode-1.35.0/dist/src/stepFunct>
             └─23050 /home/coder/mcdonalds_poc/cdk_patch_manager_asg_windows_2019/.venv/bin/python /home/coder/.local/share/code-server/extensions/ms-python.pyth>

Jan 24 13:15:58 cdk-coder-1 code-server[21912]: [13:15:58] [127.0.0.1][2bbd0ffa][ExtensionHostConnection] <22000> Extension Host Process exited with code: 0, sig>
Jan 24 13:16:09 cdk-coder-1 code-server[21912]: [13:16:09] [127.0.0.1][699f94d1][ManagementConnection] New connection established.
Jan 24 13:16:11 cdk-coder-1 code-server[21912]: [13:16:11] [127.0.0.1][8b43cf37][ExtensionHostConnection] New connection established.
Jan 24 13:16:11 cdk-coder-1 code-server[21912]: [13:16:11] [127.0.0.1][8b43cf37][ExtensionHostConnection] <22212> Launched Extension Host Process.
Jan 24 14:14:02 cdk-coder-1 code-server[21912]: [2022-01-24T14:14:02.897Z] info  2022/01/24 14:14:02 [ERR] yamux: Failed to read header: failed to get reader: fa>
Jan 24 14:14:02 cdk-coder-1 code-server[21912]: [2022-01-24T14:14:02.898Z] info  2022-01-24 14:14:02.896 [WARN]        <proxy.go:48>        code-server proxy exi>
Jan 24 14:14:09 cdk-coder-1 code-server[21912]: [14:14:09] [127.0.0.1][699f94d1][ManagementConnection] The client has disconnected, will wait for reconnection 3h>
Jan 24 14:14:09 cdk-coder-1 code-server[21912]: Error: Unexpected SIGPIPE
Jan 24 14:14:09 cdk-coder-1 code-server[21912]:     at process.<anonymous> (/usr/lib/code-server/vendor/modules/code-oss-dev/out/bootstrap.js:1:370)
Jan 24 14:14:09 cdk-coder-1 code-server[21912]:     at process.emit (events.js:400:28)

Allow Remote Support for Packages

I am looking for support for packages, like NODE, PIP, etc., without having to download them and put them in manually, if there even is a way. The reason for this is, I use this way to code on VSCode remotely, because the school has Linux Beta on the student chromebooks blocked/disabled, which means, I cannot use the feature to open the .deb (Debian) files for NODE.js, to download it to my chromebook, as well as there being no feature that allows you to add things like that to the remote server, even if I had the capabilities to do so. If possible, could you add preinstalled packages, like NODE and PIP, into the future updates? I know this is fully possible, since an iOS app can do it, so why can't this (I won't link the repo here, unless you ask for it)?

how $password var is used

can someone help me understand how do you pass $password to code-server build? will $password var be logged anywhere in cleartext? I refer to container deployment with railway
thanks

Unable to access superuser privilege (Heroku)

I have installed code-server on Heroku. I want the superuser privileges but when I type sudo the following is the output.
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
Can you provide some help?

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.