freemt commited on
Commit
1224b76
1 Parent(s): 89c5e7c
Files changed (3) hide show
  1. .gitignore +2 -0
  2. install-sw1.sh +10 -2
  3. okteto.yml +1 -0
.gitignore CHANGED
@@ -141,3 +141,5 @@ cython_debug/
141
  links/
142
  # .gitignore
143
  node_modules
 
 
141
  links/
142
  # .gitignore
143
  node_modules
144
+ install-sw1.sh
145
+ okteto.yml
install-sw1.sh CHANGED
@@ -13,13 +13,21 @@ source ~/.bashrc
13
  # ~/.local/bin/poetry install
14
 
15
  wget -c https://deb.nodesource.com/setup_12.x
16
- bash setup_12.x
17
  apt-get install -y nodejs
18
  npm install -g npm@latest
19
  npm install -g nodemon
20
- rm setup_12.x
 
 
 
 
 
 
 
21
 
22
  # apt update # alerady done in apt-get install -y nodejs
23
  apt install byobu -y > /dev/null 2>&1
24
  byobu-enable
 
25
  byobu
13
  # ~/.local/bin/poetry install
14
 
15
  wget -c https://deb.nodesource.com/setup_12.x
16
+ bash setup_14.x
17
  apt-get install -y nodejs
18
  npm install -g npm@latest
19
  npm install -g nodemon
20
+ rm setup_124.x
21
+
22
+ # pytorch cpu
23
+ # pip3 install torch==1.8.2+cpu torchvision==0.9.2+cpu torchaudio==0.8.2 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
24
+
25
+ # install sshd and publickey
26
+ apt-get install openssh-server
27
+ echo ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOl+SiDFL1ZUh1QJ0454eYKtamkMCVs2hhuv3cWN1LU7 id_ed25519_colab >> ~/.ssh/authorized_keys
28
 
29
  # apt update # alerady done in apt-get install -y nodejs
30
  apt install byobu -y > /dev/null 2>&1
31
  byobu-enable
32
+ cd /usr/src/app
33
  byobu
okteto.yml CHANGED
@@ -39,6 +39,7 @@ dev:
39
  - 7861:7861
40
  - 7860:7860
41
  - 8501:8501
 
42
  reverse:
43
  - 9000:9000
44
  autocreate: true
39
  - 7861:7861
40
  - 7860:7860
41
  - 8501:8501
42
+ - 22:22
43
  reverse:
44
  - 9000:9000
45
  autocreate: true