Kasm Setup Notes
Quick review for Kasm Setup
KASM Workspace Prep
Any time you start work on a new KASM workspace perform these steps
-
Open a Linux-supported Terminal
-
Setup personal GitHub variables: Change
youremail@gmail.com
andyourGHID
to match your credentials. This is required prior to syncing code to GitHub.git config --global user.email jmort1021@gmail.com git config --global user.name jm1021
-
Move to your home directory:
cd
-
Setup a directory and clone your projects:
mkdir nighthawk cd nighthawk git clone https://github.com/nighthawkcoders/portfolio_2025.git
- Tool preparation for GitHub Pages
cd ~/nighthawk/portfolio_2025/scripts ./activate.sh
- VSCode preparation
Launch VSCode from the desktop and install or adjust install on the following extensions. Here is a visual of extension
- Python. Required for Python. Be sure to upgrade to pre-release after install.
- Jupyter Required for Jupyter Notebooks. Be sure to upgrade to pre-relase after install.
- GitLens Required for easy GitHub operations.
- Required
Close everything.
- Close any terminals open The environment of terminal will not activate until a new terminal is opened.
- Close VSCode It is always best to close a tool when you activate new features.
Project Preparation
Any time you start work on a new project perform these steps. Change https://github.com/nighthawkcoders/john_2025.git
to match your repo.
-
Clone your projects:
cd nighthawk git clone https://github.com/jm1021/john_2025.git
- Tool preparation for GitHub Pages
cd ~/nighthawk/john_2025 ./scripts/venv.sh
- Start your project specific virtual environment with bundle requirements
source venv/bin/activate bundle install
- Load VSCode
code .
- Verify the following
After installation it is alway best to do some testing and checks. It is likely you will need to create a keyring and authenticate with GitHub during this process.
- Open Terminal in VSCode, verify venv is present. If not, make sure you have pre-release of Python Extension.
- Perform
make
in terminal and verify and run server. If it delays or fails, make sure you have venv in terminal and run have runbundle install
- Open an Jupyter Notebook, set a kernel, verify by running a code cell. If you can’t set a kernel be sure you have pre-release verion of Jupyter Extension.
- Make a commit to GitHub. If you have failures it could be related to GitHub autentication,
git config
environment variables, or kingring password.