NivaldoFarias / dotfiles

Scaffolds a development enviroment with my preferred configuration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

Scaffolds a development enviroment with my preferred configuration.

Installation and Usage

Important

This script is intended to be run on a fresh install of Ubuntu 23.04 LTS (Lunar Lobster). It will overwrite any existing configuration files.

All setup scripts use Ansible. To set up Ansible, first update dependencies:

sudo apt update 
sudo apt install -y software-properties-common

Then, add the Ansible PPA and install Ansible:

sudo add-apt-repository -y --update ppa:ansible/ansible
sudo apt install -y ansible

With Ansible installed, install Ansible scripts required dependencies:

ansible-galaxy install -r requirements.yml

Finally, run the setup script with Ansible:

ansible-playbook setup.ansible.yml --ask-become-pass

Development

The only requirement for development for this project is Ansible Lint.

To setup the development enviroment, we'll need a Python virtual environment. To create one, run the following commands:

python3 -m venv .venv
source venv/bin/activate

Then, install the required dependencies:

pip install -r requirements-dev.txt

About

Scaffolds a development enviroment with my preferred configuration.

License:MIT License


Languages

Language:Shell 100.0%