Uploaded March 2025 | Updated September 2026, 3 weeks ago
In February of 2025, I did my first end-to-end-computer build. As a result I had the rare opportunity to set up my actual Ubuntu 24.04 development environment (mostly) from scratch.
In addition to this video, I made my first GitHub Gist that documents the process in detail (and even has a few updates compared to this video). I also intend to keep it updated as I tweak things. Check it out: gist.github.com/msducheminjr/a8e85bf3be8a4d3ae80698ceea2502d5
There are a couple of times where "Mike from the Future" comes back to warn us of mistakes we have made and how to correct them.
This video covers:
0:00:00 Introduction
0:01:30 Setup Visual Studio Code
0:02:21 Basic configuration of VS Code to Mike's preferences
0:05:30 Install Git, configure rerere, and set auto GPG signing
0:08:15 Import the previous GPG key from the previous computer
0:11:37 Make a test commit to ensure GPG signing works
0:12:34 Regenerate GitHub token and ensure verified test commit on GitHub
0:14:43 Set up git-credential-libsecret so you don't need to enter your GitHub token every time you interact with the remote
0:16:00 Set up an SSH key and make it an authorized key on another computer
0:18:10 Install mise-en-place for managing installations of programming languages like JavaScript and Ruby
0:20:45 Install Node LTS (version 22 at time of recording) with mise as the default version `mise use --global node@lts`
0:21:45 Troubleshoot node not in PATH. Need to execute `eval $(mise activate bash)`
0:23:21 Install Ruby 3.4 (will fail if you don't install the dependencies first)
0:25:28 Mike From the Future warns you that you need to add the eval statement to .bashrc
0:27:16 Try running tests on a Rails app that uses SQLite3 (system tests hang)
0:29:07 Install Google Chrome via aptitude so it works for Rails apps and Salesforce DX (gets Rails system tests passing)
0:31:47 Install MariaDB
0:33:45 Install PostgreSQL and set up the statelesscode user
0:34:57 Get the nerd_dice_dot_com project (which uses Postgres) working
0:39:01 Install OpenJDK 17, the Salesforce CLI, and Salesforce VS Code extensions. Set Java Home.
0:42:09 Authenticate a Salesforce Dev Hub via the CLI
0:45:25 Install Docker
0:50:41 Mike From the Future warns you to add the docker group to your user so you can run it without sudo
0:51:47 Add the docker group to your user (need to log out and back in after)
0:53:23 Summary and conclusion
#ubuntu #linux #development #git #mise #ruby #rails #node #docker #github #gpg #rails8 #mikefromthefuture #chrome #sqlite3 #mariadb #mysql #postgres #postgresql #openjdk #salesforce #sfdx #dockerdesktop
See other related StatelessCode videos:
- Install Ubuntu 24.04 LTS Desktop youtu.be/yHxuNUovS20
- Install Node.js (versions 18, 20, 22) with NVM on Ubuntu 24.04 youtu.be/YyEf1QWfg9Y
- Install Visual Studio Code on Ubuntu 24.04 youtu.be/GdmHY1JhLI8
- Install Git on Ubuntu 24.04 and Configure for Verified Commits in GitHub youtu.be/CagiEjuqKxU
- Set up a Salesforce Development Environment on Ubuntu 24.04 youtu.be/OC4R71bQO4g
- Install Ruby and Rails with Databases on Ubuntu 24.04 youtu.be/XB6lPKAzRxc
- Rails 8 Development with Dev Containers and rails-new youtu.be/NWNLU4FxnNc
Featured Playlist:
- Ruby on Rails NerdDice.com youtube.com/playlist?list=PL9kkbu1kLUeMJFb0GT8ZMzrsSKJaxjOKH
Resources that we relied upon for this solution:
- How to transfer pgp private key to another computer? stackoverflow.com/questions/3174537/how-to-transfer-pgp-private-key-to-another-computer
- Storing your GIT credentials in libsecret gist.github.com/JonasGroeger/4393203cc846da558fec1531cdd822db
This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.
In February of 2025, I did my first end-to-end-computer build. As a result I had the rare opportunity to set up my actual Ubuntu 24.04 development environment (mostly) from scratch.
In addition to this video, I made my first GitHub Gist that documents the process in detail (and even has a few updates compared to this video). I also intend to keep it updated as I tweak things. Check it out: gist.github.com/msducheminjr/a8e85bf3be8a4d3ae80698ceea2502d5
There are a couple of times where "Mike from the Future" comes back to warn us of mistakes we have made and how to correct them.
This video covers:
0:00:00 Introduction
0:01:30 Setup Visual Studio Code
0:02:21 Basic configuration of VS Code to Mike's preferences
0:05:30 Install Git, configure rerere, and set auto GPG signing
0:08:15 Import the previous GPG key from the previous computer
0:11:37 Make a test commit to ensure GPG signing works
0:12:34 Regenerate GitHub token and ensure verified test commit on GitHub
0:14:43 Set up git-credential-libsecret so you don't need to enter your GitHub token every time you interact with the remote
0:16:00 Set up an SSH key and make it an authorized key on another computer
0:18:10 Install mise-en-place for managing installations of programming languages like JavaScript and Ruby
0:20:45 Install Node LTS (version 22 at time of recording) with mise as the default version `mise use --global node@lts`
0:21:45 Troubleshoot node not in PATH. Need to execute `eval $(mise activate bash)`
0:23:21 Install Ruby 3.4 (will fail if you don't install the dependencies first)
0:25:28 Mike From the Future warns you that you need to add the eval statement to .bashrc
0:27:16 Try running tests on a Rails app that uses SQLite3 (system tests hang)
0:29:07 Install Google Chrome via aptitude so it works for Rails apps and Salesforce DX (gets Rails system tests passing)
0:31:47 Install MariaDB
0:33:45 Install PostgreSQL and set up the statelesscode user
0:34:57 Get the nerd_dice_dot_com project (which uses Postgres) working
0:39:01 Install OpenJDK 17, the Salesforce CLI, and Salesforce VS Code extensions. Set Java Home.
0:42:09 Authenticate a Salesforce Dev Hub via the CLI
0:45:25 Install Docker
0:50:41 Mike From the Future warns you to add the docker group to your user so you can run it without sudo
0:51:47 Add the docker group to your user (need to log out and back in after)
0:53:23 Summary and conclusion
#ubuntu #linux #development #git #mise #ruby #rails #node #docker #github #gpg #rails8 #mikefromthefuture #chrome #sqlite3 #mariadb #mysql #postgres #postgresql #openjdk #salesforce #sfdx #dockerdesktop
See other related StatelessCode videos:
- Install Ubuntu 24.04 LTS Desktop youtu.be/yHxuNUovS20
- Install Node.js (versions 18, 20, 22) with NVM on Ubuntu 24.04 youtu.be/YyEf1QWfg9Y
- Install Visual Studio Code on Ubuntu 24.04 youtu.be/GdmHY1JhLI8
- Install Git on Ubuntu 24.04 and Configure for Verified Commits in GitHub youtu.be/CagiEjuqKxU
- Set up a Salesforce Development Environment on Ubuntu 24.04 youtu.be/OC4R71bQO4g
- Install Ruby and Rails with Databases on Ubuntu 24.04 youtu.be/XB6lPKAzRxc
- Rails 8 Development with Dev Containers and rails-new youtu.be/NWNLU4FxnNc
Featured Playlist:
- Ruby on Rails NerdDice.com youtube.com/playlist?list=PL9kkbu1kLUeMJFb0GT8ZMzrsSKJaxjOKH
Resources that we relied upon for this solution:
- How to transfer pgp private key to another computer? stackoverflow.com/questions/3174537/how-to-transfer-pgp-private-key-to-another-computer
- Storing your GIT credentials in libsecret gist.github.com/JonasGroeger/4393203cc846da558fec1531cdd822db
This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.










