Skip to content

Commit 947058b

Browse files
authored
Update README.md
1 parent fd8cf52 commit 947058b

File tree

1 file changed

+5
-40
lines changed

1 file changed

+5
-40
lines changed

README.md

Lines changed: 5 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
* PowerShell
3131
* Python Intellisense
3232
* VSCode Action Buttons
33-
* rust-lang
33+
* Rust-Lang
3434
* **Google Drive Upload**
3535
* **Languages Installed :**<br><br>
3636
[![C](https://img.shields.io/static/v1?label=C&message=%20&logo=c)]()&nbsp; [![C++](https://img.shields.io/static/v1?label=C%2b%2b&message=%20&logo=c%2b%2b&logoColor=1e90ff&color=1e90ff)]()&nbsp; [![C Sharp](https://img.shields.io/static/v1?label=C%23&message=%20&logo=c-sharp&logoColor=green&color=green)]()&nbsp; [![Clojure](https://img.shields.io/static/v1?label=Clojure&message=%20&logo=clojure&logoColor=brightgreen&color=brightgreen)]()&nbsp; [![Go](https://img.shields.io/static/v1?label=Go&message=%20&logo=go&logoColor=1e90ff&color=1e90ff)]()&nbsp; [![Java](https://img.shields.io/static/v1?label=Java&message=%20&logo=java&logoColor=f89820&color=f89820)]()&nbsp; [![Javascript](https://img.shields.io/static/v1?label=Javascript&message=%20&color=f7df1e&logo=javascript&logoColor=f7df1e)]()&nbsp; [![Lua](https://img.shields.io/static/v1?label=Lua&message=%20&color=blueviolet&logo=lua&logoColor=9638E7)]()&nbsp; [![Perl](https://img.shields.io/static/v1?label=Perl&message=%20&logo=perl&logoColor=cc99ff&color=cc99ff)]()&nbsp; [![PowerShell](https://img.shields.io/static/v1?label=PowerShell&message=%20&logo=powershell&color=03A9F4&logoColor=03A9F4)]()&nbsp; [![Python](https://img.shields.io/static/v1?label=Python&message=%20&logo=python&color=blue)]()&nbsp; [![R](https://img.shields.io/static/v1?label=R&message=%20&logo=r&logoColor=blue&color=blue)]()&nbsp; [![Raku](https://img.shields.io/static/v1?label=Raku&message=%20&color=red&logo=perl&logoColor=red)]()&nbsp; [![Ruby](https://img.shields.io/static/v1?label=Ruby&message=%20&logo=ruby&logoColor=9b111e&color=9b111e)]()&nbsp; [![Shellscript](https://img.shields.io/static/v1?label=Shellscript&message=%20&color=4eaa25&logo=gnu-bash&logoColor=4eaa25)]()&nbsp; [![Scala](https://img.shields.io/static/v1?label=Scala&message=%20&color=red&logo=scala&logoColor=red)]()&nbsp; [![Swift](https://img.shields.io/static/v1?label=Swift&message=%20&color=red&logo=swift&logoColor=red)]()
3737

3838
## **Environment Variables :**
39-
| CS_VERSION | 3.11 |
39+
| CS_VERSION | 3.11.0 |
4040
|:-:|:-:|
4141
| AUTH_TYPE | Code-Server login type: {password, none} |
4242
| PASSWORD | Code-Server login password (If AUTH_TYPE=password) |
@@ -47,43 +47,9 @@
4747

4848
## **Installation :**
4949
* **For Heroku Users :**
50-
* Fork this repo.
51-
* Create new app on heroku.
52-
* **Setting up google drive (do the following on local pc) :**
53-
* [ ! ] If you don't want this feature then don't assign any value to ```DRIVE_ACCESS``` variable.
54-
* [Follow this](https://developers.google.com/adwords/api/docs/guides/authentication#create_a_client_id_and_client_secret) & get your ```client_secret.json``` file.
55-
* Add Drive API to the project from [here](https://console.cloud.google.com/apis/library), select the same project made in the above step if needed.
56-
* Clone/Download [this repo](https://github.com/apoorvvyavahare/gdrive-upload).
57-
* Install Python-3 & install all the requirements via [CLONED/DOWNLOADED REPO]/requirements.txt
58-
* Now paste your ```client_secret.json``` file into the [CLONED/DOWNLOADED REPO] folder.
59-
* Open a terminal in the repo folder and run the upload.py:
60-
* ```python3 upload.py -i upload.py -f "CodeServer Saves" --noauth_local_webserver```
61-
* Copy the URL from the terminal & paste it into browser.
62-
* Login with your account, accept all the terms, get the success key.
63-
* Paste it into the terminal & wait for the success message.
64-
* Now check your drive for ```CodeServer Saves``` folder and a ```upload.py``` file inside it.
65-
* If its not there, run ```python3 upload.py -i upload.py -f "CodeServer Saves"```, now check in drive.
66-
* Now go [here](https://bashupload.com) and upload your ```drive-access.json``` from ```[CLONED/DOWNLOADED REPO]/.credentials/drive-access.json```.
67-
* Now copy the download link & paste it into the ```DRIVE_ACCESS_URL``` in ```Dockerfile.heroku``` of your forked repo and save it.
68-
* [ ! ] Download link is a single download link, so repeat from the file upload process if you re-deploy the project.
69-
* Now hit the Heroku Deploy button on the forked repo's readme.
50+
* Hit the Heroku Deploy button on the forked repo's readme.
7051
* [ ! ] Set ```AUTH_TYPE``` value to ```none``` if you dont want any login password prompt.
7152
* **For Non-Heroku Users :**
72-
* **Setting up google drive (do the following on local pc) :**
73-
* [ ! ] If you don't want this feature then don't assign any value to ```DRIVE_ACCESS``` variable in the run command.
74-
* [Follow this](https://developers.google.com/adwords/api/docs/guides/authentication#create_a_client_id_and_client_secret) & get your ```client_secret.json``` file.
75-
* Add Drive API to the project from [here](https://console.cloud.google.com/apis/library), select the same project made in the above step if needed.
76-
* Clone/Download [this repo](https://github.com/apoorvvyavahare/gdrive-upload).
77-
* Install Python-3 & install all the requirements for the cloned repo via requirements.txt
78-
* Now paste your ```client_secret.json``` file into the repo folder.
79-
* Open a terminal in the repo folder and run the upload.py:
80-
* ```python3 upload.py -i upload.py -f "CodeServer Saves" --noauth_local_webserver```
81-
* Copy the URL from the terminal & paste it into browser.
82-
* Login with your account, accept all the terms, get the success key.
83-
* Paste it into the terminal & wait for the success message.
84-
* Now check your drive for ```CodeServer Saves``` folder and a ```upload.py``` file inside it.
85-
* If it's not there, run ```python3 upload.py -i upload.py -f "CodeServer Saves"```, now check in drive.
86-
* Now copy the ```drive_access.json``` from ```[CLONED/DOWNLOADED REPO]/.credentials/drive-access.json``` to your system where you want to run code-server.
8753
Edit & Run Command :
8854
```
8955
docker run --name code-server \
@@ -92,7 +58,6 @@
9258
-e CODESERVER_PORT="9870" \
9359
-e NGROK_TOKEN="<YOUR NGROK TOKEN>" \
9460
-d -p 8080:9870 vital987/code-server && \
95-
docker cp <path to drive_access.json> code-server:/app/.credentials
9661
```
9762
[ ! ] Set ```AUTH_TYPE``` value to ```none``` if you dont want any login password prompt.
9863

@@ -103,7 +68,6 @@
10368
* **** : Refresh the buttons.
10469
* **ClearWorkspace :** Deletes all the folders in workspace directory.
10570
* **ResetWorkspace :** Resets the workspace folder with all sample files.
106-
* **DriveUpload :** Archive workspace directory (excluding sample files) and upload to google drive.
10771
* [ ! ] The buttons need to be refreshed everytime after use.
10872

10973
## **Screenshots :**
@@ -112,4 +76,5 @@
11276

11377
## **Credits :**
11478
* **Coder** : [Website](https://coder.com), [Github](https://github.com/cdr)
115-
* **Me of course!** : [Github](https://github.com/vital987)
79+
* **vital987** : [Github](https://github.com/vital987)
80+
* **nv2k3** : [Github](https://github.com/nv2k3)

0 commit comments

Comments
 (0)