You’ll be using a couple of different databases as you move through the web development track. The default database that Ruby on Rails uses is SQLite.
- Open the "Ubuntu" application using the "Start" menu
- Type
sudo apt-get install sqlite3
and press<Enter>
If you were able to run those commands without any issues, continue below.
We also frequently see that students want to deploy their apps to the hosting service Heroku. To do this, though, you will need a different relational database management system called PostgreSQL.
- Type
sudo apt-get install wget ca-certificates
and press<Enter>
- Type
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
and press<Enter>
- Type
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
and press<Enter>
- Type
sudo apt-get update
and press<Enter>
- Type
sudo apt-get install postgresql
and press<Enter>
(Note: this may take some time)
If you were able to run those commands without any issues, continue to the next lesson, Configuring GitHub and Flatiron Student Portal on WSL2.