This Vagrant box is specifically designed for remote development.
Remote development provides flexibility, allowing developers to work from any location. It enables the use of powerful servers for code execution, while using a lightweight client for editing and debugging. This approach ensures a consistent environment across a team, mitigates "it works on my machine" issues, and enhances security by keeping code on secure servers.
- The box runs on Ubuntu 22.04 LTS.
It comes with several pre-installed Python versions:
- Python 3.10
- Python 3.11
- Python 3.12
Zsh is the default shell, enhanced with the powerlevel10k theme for a comprehensive and informative prompt.
Features like zsh syntax highlighting, zsh autocompletion, and git are enabled.
You can configure your theme during the initial run.
Python virtual environments are set to activate automatically when you enter a directory that contains one. To utilize this feature, create your virtual environments in either of the following directories:
~/.virtualenvs
(recommended)venv
or.venv
directory within your project
The box is configured with Postgres and Redis, making it suitable for Django usage.
The box is optimized for running remote IDEs like PyCharm or VS Code smoothly. Default settings have been established to facilitate effortless connection and operation.
Both VS Code and Pycharm IDEs should connect easily with the box.
You need to adjust the Vagrantfile to reflect the specifications of your host machine. Specifically, update the values for disk size, memory, and CPU.
To begin using this Vagrant box, ensure that Vagrant and VirtualBox are installed on your machine. After installation, clone this repository and execute vagrant up
in the project directory.