Last active
April 14, 2019 05:16
-
-
Save Pritesh-Patel/8ef21a1fd04267f47089bc93656cde7f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
wget https://github.com/codercom/code-server/releases/download/1.696-vsc1.33.0/code-server1.696-vsc1.33.0-linux-x64.tar.gz | |
tar -xvzf code-server1.696-vsc1.33.0-linux-x64.tar.gz | |
mkdir -p /home/$USER/.local/bin | |
touch /home/$USER/.local/bin/start_ide.sh | |
echo '#!/bin/sh' >> /home/$USER/.local/bin/start_ide.sh | |
echo '/home/prit/code-server1.696-vsc1.33.0-linux-x64/code-server --password=local' >> /home/$USER/.local/bin/start_ide.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a task in windows task scheduler:
Program/Script: C:\Windows\System32\cmd.exe
Arguments: /c start /min "IDE" C:\Windows\System32\bash.exe -c 'bash --login -ic /home/$USER/.local/bin/start_ide.sh'
In your browser you can now access localhost:8443 the password is: local