Upgrade versions in docs and Vagrant script
This commit is contained in:
@ -22,19 +22,19 @@ sudo apt-get update
|
|||||||
sudo apt-get -y install git ca-certificates curl libpq-dev libicu-dev
|
sudo apt-get -y install git ca-certificates curl libpq-dev libicu-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install PostgreSQL 15:
|
### Install PostgreSQL 16:
|
||||||
|
|
||||||
**macOS:**
|
**macOS:**
|
||||||
```shell
|
```shell
|
||||||
brew install postgresql@15
|
brew install postgresql@16
|
||||||
brew services start postgresql@15
|
brew services start postgresql@16
|
||||||
```
|
```
|
||||||
|
|
||||||
**Linux:**
|
**Linux:**
|
||||||
```shell
|
```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
|
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
|
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
|
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
|
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:
|
Reload your shell (e.g., by closing and reopening the terminal) and continue with installing Node:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
nvm install lts/hydrogen
|
nvm install lts/iron
|
||||||
corepack enable
|
corepack enable
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ corepack enable
|
|||||||
node -v
|
node -v
|
||||||
yarn -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:
|
### Clone the repository:
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@ cd /home/vagrant/codeocean
|
|||||||
|
|
||||||
######## VERSION INFORMATION ########
|
######## VERSION INFORMATION ########
|
||||||
|
|
||||||
postgres_version=15
|
postgres_version=16
|
||||||
node_version=lts/hydrogen
|
node_version=lts/iron
|
||||||
ruby_version=$(cat .ruby-version)
|
ruby_version=$(cat .ruby-version)
|
||||||
|
|
||||||
DISTRO="$(lsb_release -cs)"
|
DISTRO="$(lsb_release -cs)"
|
||||||
|
Reference in New Issue
Block a user