Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.37 KB

deploy.md

File metadata and controls

34 lines (28 loc) · 1.37 KB

1 - join Toolforge If you are not already a member of Toolforge, make a membership request, and wait for it to be approved. Then add a public ssh key to your account: you can find it at ~/.ssh/id_rsa.pub on your machine, or, if you have a github account, you can copy/paste https://github.com/yourusername.keys).

2 - join a tool account Join an existing tool account or create one

3 - login to the bastion host and become tool

ssh login.tools.wmflabs.org
# join the tool hub
become hub

4 - install the project Doc: node.js web services

mkdir -p ~/www
cd ~/www
git clone https://github.com/maxlath/hub js

# Running npm with webservice shell to get more recent node/npm versions
webservice --backend=kubernetes node10 shell
npm install --production
webservice --backend=kubernetes node10 start

5 - Follow the logs

# exit the `webservice --backend=kubernetes nodejs shell` to access `kubectl`
exit
kubectl get pods
kubectl logs <mypod>