diff --git a/docs/LOCAL_SETUP.md b/docs/LOCAL_SETUP.md index 26601b31..1de210a6 100644 --- a/docs/LOCAL_SETUP.md +++ b/docs/LOCAL_SETUP.md @@ -22,19 +22,19 @@ sudo apt-get update sudo apt-get -y install git ca-certificates curl libpq-dev libicu-dev ``` -### Install PostgreSQL 15: +### Install PostgreSQL 16: **macOS:** ```shell -brew install postgresql@15 -brew services start postgresql@15 +brew install postgresql@16 +brew services start postgresql@16 ``` **Linux:** ```shell curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null echo "deb [arch=$(dpkg --print-architecture)] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list -sudo apt-get update && sudo apt-get -y install postgresql-15 postgresql-client-15 +sudo apt-get update && sudo apt-get -y install postgresql-16 postgresql-client-16 sudo -u postgres createuser $(whoami) -ed ``` @@ -96,12 +96,12 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash nvm -v ``` -### Install NodeJS 18 and Yarn: +### Install NodeJS 20 and Yarn: Reload your shell (e.g., by closing and reopening the terminal) and continue with installing Node: ```shell -nvm install lts/hydrogen +nvm install lts/iron corepack enable ``` @@ -110,7 +110,7 @@ corepack enable node -v yarn -v ``` -If you have several node versions installed, check that you are using the correct version. To view your installed versions, run `nvm list`. `lts/hydrogen` should be the current and default version. You can adjust this by running `nvm alias default lts/hydrogen`. +If you have several node versions installed, check that you are using the correct version. To view your installed versions, run `nvm list`. `lts/iron` should be the current and default version. You can adjust this by running `nvm alias default lts/iron`. ### Clone the repository: @@ -359,4 +359,4 @@ Hints in case it does not work: - Docker must be started. - Execution environments with network access are not running on macOS. Therefore, all execution environments in the list must be edited so that network access is disabled. -To check that everything works, you should also set the prewarming pool size to 1 for at least one execution environment. This can also be done via the edit function. Afterward it can be checked here that there are as many free runners as you have set before at pool size. In the nomad UI on one can see the running jobs. \ No newline at end of file +To check that everything works, you should also set the prewarming pool size to 1 for at least one execution environment. This can also be done via the edit function. Afterward it can be checked here that there are as many free runners as you have set before at pool size. In the nomad UI on one can see the running jobs. diff --git a/provision/provision.vagrant.sh b/provision/provision.vagrant.sh index 2dce84cd..65ff349b 100644 --- a/provision/provision.vagrant.sh +++ b/provision/provision.vagrant.sh @@ -4,8 +4,8 @@ cd /home/vagrant/codeocean ######## VERSION INFORMATION ######## -postgres_version=15 -node_version=lts/hydrogen +postgres_version=16 +node_version=lts/iron ruby_version=$(cat .ruby-version) DISTRO="$(lsb_release -cs)"