This repo creates a basic software stack on a clean VM. The stack includes: vim, git, pip, curl, apache There is also a capability to install chef (although some configuration is still required).
-
copy setup_vm.sh from this repo to the home directory of a user on a clean VM.
-
In a terminal session, enter: "bash setup_vm.sh". You will have to enter "y" multiple times, and possibly the root password.
-
In Ubuntu 18, it was necessary to update the Ubuntu network configuration by adding the file /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
- Add c:\Users\windows\Util to path (via env application)
- Installed python 3.8
- pip install nose
- Created .bat files to Util: python.bat, pip.bat, nosetests.bat
- Created environment variable SCRIPTS that points to my pip install
bash -c "$(wget -q -O - https://linux.kite.com/dls/linux/current)"
- Tutorial
- It's probably best to set up the virtual environment in advance. To get PyCharm to use an existing virtual environment:
- File > Settings > Project > Project interpreter
- Add local
- Select the interpreter in the local environment: my_venv/bin/pythonX.X
- Sometimes, the following is needed to get the correct version of python:
pip insall virtualenvvirtualenv -p python3.6 <ENV>
- Personal Access Tokens
- Profile > Settings > Developer Settings > personal access tokens