- follow this guide
- In ubuntu
sudo apt-get update
sudo apt-get install -y build-essential checkinstall
-
sudo apt-get install -y libncursesw5-dev \ libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev \ libffi-dev zlib1g-dev wget curl llvm libncurses5-dev git xz-utils \ tk-dev libffi-dev liblzma-dev python-openssl libreadline-dev libsqlite3-dev \ unixodbc-dev
- SSH keys (new)
- Setup ssh key pair in Ubuntu using the following link: (evt. brug eget initials@pc-name
- https://gist.github.com/cybersamx/1ad243b47cb0ac6734d2
- SSH keys (existing)
-
Copy keys using the following command
cp -r .ssh/ ~/.ssh
-
- Add ssh public key to Azure
-
Use following command and copy key
cat ~/.ssh/id_rsa.pub
-
Add key to Azure
-
- Install PyEnv
-
Run the following command in Ubuntu
curl https://pyenv.run | bash
-
- Install Poetry
-
Run the following command in Ubuntu
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
-
-
Install Python
- Run the following command in Ubuntu
-
Pyenv install 3.X (newest version)
-
If existing project use:
pyenv install
(.python.version is a requirement)
-