summaryrefslogtreecommitdiff
path: root/ASDFVM_SETUP.md
diff options
context:
space:
mode:
authorJoseph Ditton <jditton.atomic@gmail.com>2022-01-07 10:19:43 -0700
committerJoseph Ditton <jditton.atomic@gmail.com>2022-01-07 10:19:43 -0700
commitf5193541f67389d7560b818178d857dd5dd7df77 (patch)
tree444a53aa5afd319c2d0b89f01c063f84b2a52e2d /ASDFVM_SETUP.md
parentde84113066c27d88922285bd431b4968cf565a68 (diff)
parentbc82be4344da51d8fa13bde11ba5aac0e039ce45 (diff)
downloadlocchat-f5193541f67389d7560b818178d857dd5dd7df77.tar.gz
locchat-f5193541f67389d7560b818178d857dd5dd7df77.zip
Merge branch 'main' of github.com:dittonjs/NestStarterApp
Diffstat (limited to 'ASDFVM_SETUP.md')
-rw-r--r--ASDFVM_SETUP.md47
1 files changed, 47 insertions, 0 deletions
diff --git a/ASDFVM_SETUP.md b/ASDFVM_SETUP.md
new file mode 100644
index 0000000..e8ba5f8
--- /dev/null
+++ b/ASDFVM_SETUP.md
@@ -0,0 +1,47 @@
+# ASDFVM Setup
+1. Run
+```bash
+$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.1
+```
+
+2. Run
+```bash
+$ code ~/.bashrc
+```
+This assumes you have VS Code installed on your computer (if you don't then install it by searching for it online and installing it).
+
+3. Add the following lines at the end of the file and save it.
+```bash
+. $HOME/.asdf/asdf.sh
+. $HOME/.asdf/completions/asdf.bash
+```
+4. If you are on Mac make sure you have homebrew installed.
+`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`
+5. Close your terminal and reopen it.
+
+## Installing the NodeJS plugin
+1. Install the plugin
+```bash
+$ asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
+```
+
+## Installing the Postgres plugin
+1. Install the dependencies
+
+Mac
+```bash
+$ brew install gcc readline zlib curl ossp-uuid
+```
+
+Ubuntu
+```
+$ sudo apt-get install linux-headers-$(uname -r) build-essential libssl-dev libreadline-dev zlib1g-dev libcurl4-openssl-dev uuid-dev
+```
+
+2. Install the plugin
+```
+$ asdf plugin-add postgres
+```
+
+
+Restart your terminal when it is done. \ No newline at end of file