jupyterhub-deploy-docker/singleuser/install_language_server.sh
Michael Pilosov fd5d5111db
Carme (#5)
* changed settings for personal hub.

* htop added to singleuser.

* better singleuser.

* config updated.

* bad merge.

* standard updates.

* updates to builds.

* updated.

* updated path.

* loc

* stable build!

* lab enabled.

* dockerspawner bug fix.

* stable upgrade.

* remove env ending.

* minimal installation script with python 2.

* git enabled.

* env.

* upgraded hub for hartke.

* setting cull idle servers.

* default upgrade now working.

* options.

* tweaks for personal settings.

* personalization.

* update.

* attempting full latex build.

* lab build.

* typo

* separated layers.

* got a fancy environment working

* allspark.

* updated personal hub settings.

* allspark done.

* updates. tflow.

* octave deps.

* rstudio and redundancy cleanup.

* WIP

* everything WORKS!!!

* stable state with updates.

* stuff to improve the experience.

* merge.

* working state.

* settings.

* settings for carme, successful build

* settings tweaked for lab, sudo, debugger

* working on carme

* upgrade to python 3.9 and remove conda install steps

* updates

* major cleanup (#6)

* update for slalom

* disable options and grant sudo to all

* vscode launcher

* default url

* pkgs

* config

* updates

* typo

* update

* dont mount extras

* update info in config

* adding install scripts, cleaning up dockerfile

* refactor class

* clean up logic

* carme

* upgrades

* update

* swap order

* spacing

* updates

* paths

* rearranging

* cleanup

* lsp

* cleanup

* culler service update

* unecessary option

* more unecessary args

* Update .env

* monitoring

Co-authored-by: mathematicalmichael <mpilosov@gmail.com>
2021-11-27 19:01:30 -07:00

24 lines
758 B
Bash
Executable File

#!/bin/sh
# Installs language server and creates symlinks to enable discovery of code sources
pip install 'jupyterlab~=3.0.0' && \
pip install jupyterlab-lsp==3.9.1 jupyter-lsp==1.5.0 && \
pip install git+https://github.com/krassowski/python-language-server.git@main && \
#pip install 'python-lsp-server[all]' && \
mkdir -p ~/.lsp_symlink && \
cd ~/.lsp_symlink && \
ln -s /home home && \
ln -s /opt opt && \
# pip install \
# pydocstyle \
# pyflakes \
# pylint \
# rope \
# yapf \
# mccabe \
# && \
mkdir -p ~/.config && \
echo "[pycodestyle]" > ~/.config/pycodestyle && \
echo "ignore = E402, E703, W391" >> ~/.config/pycodestyle && \
echo "max-line-length = 88" >> ~/.config/pycodestyle && \
echo "finished installing language server"