From 2a963799f3dcaaf90eb8b818bf33e138c5b8a4e4 Mon Sep 17 00:00:00 2001 From: Brandon Rodriguez <brodriguez8774@gmail.com> Date: Sat, 12 Nov 2022 20:55:18 -0500 Subject: [PATCH] Update readme --- readme.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 7279b16..86ebca2 100644 --- a/readme.md +++ b/readme.md @@ -10,15 +10,35 @@ Bash script to setup Linux after a fresh install. * Setup Local Database * Install/Update Npm & NodeJs + ### Initialize Git Very basic commands to setup git. Git is required for some of the other options.\n Plus it's just nice to immediately set up git for a new install. + ### Setup Local Database Installs and initializes a local database. Currently supported: * MySQL * MariaDB -* Postgress not implemented but coming soon. +* PostgreSQL + + +### Setup Python for Development +Runs a few separate setup tasks, in order: +* Adds the "deadsnakes" ppa (`sudo add-apt-repository ppa:deadsnakes/ppa`) if not present on system. +** This allows easily and cleanly installing different Python versions on the system. +** Not sure if I'd recommend this ppa for production use, as it might not always have the latest security fixes as soon + as possible. But it's certainly useful and convienent for local development purposes. +* Installs Python3.7, Python3.8, Python3.9, and Python3.10 on the system, if not already present. +* Installs and configures [PipEnv](https://pipenv.pypa.io/en/latest/) if not already present. +** See also [PipEnv Notes](https://wiki.brandon-rodriguez.com/Python/PipEnv) for usage. +* Updates the standard cd command: +** Changing into a directory with the folders ".env" or ".venv" will try to automatically load that as the active Python + virtual environment. +** Changing out of that same directory will deactivate the current Python virtual environment. +** See https://git.brandon-rodriguez.com/python/example_projects/virtual_environments/-/blob/master/helper_script.sh for + full script. + ### Install/Update Npm & NodeJs Installs/updates Npm to the latest LTS version.\n -- GitLab