Database Systems Pre-Lab 2
RelaX - relational algebra calculator
The Islamic University of Gaza
Engineering Faculty
Department of Computer Engineering
Authors: Usama R. Al Zayan & Rasha E. Kahil2023/02/06
Expecteed outcomes
- Review The Relational Algebra Operations.
- Install lab’s tool on student’s device locally.
Lab 2: Time and Plan
Tasks |
Timing |
Quiz 1 |
10 min |
Task 1 |
35 min |
Task 2 |
15 min |
Task 3 |
15 min |
Task 4 |
20 min |
Introduction
In this Pre-lab, we are going to talk about how to run RelaX (relational algebra calculator) locally in your device. You can run online
RelaX - relational algebra calculator But We are not sure if there is internet in the lab room, so please make sure the site is running locally before attending the lab.
Student’s To Do list:
- Read Section 2.6 (The Relational Algebra) in the Textbook.
- Install node.js (v12.16.0).
- Install Yarn.
- Install Git.
- Run RelaX - relational algebra calculator.
Quiz in Lab 02
A quiz will be given at the beginning of lab 02 in Section 2.6 (The Relational Algebra).
Install node.js (v12.16.0)
- Download this installation file node-v12.16.0-x64.
- Open the downloaded setup file, don’t think, and keep progressing with
Next
.
Install Yarn
- Open cmd as Administrator.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- Run this command
npm i yarn
.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Install Git
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
How to Run RelaX - relational algebra calculator
- Create new folder, name it
Lab2
, and open it.
- Click right on any place inside
Lab2
folder, and click Git Bash Here
.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- Clone relax repository as follows:
git clone https://github.com/dbis-uibk/relax.git
.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- Download this file uibk.txt.
- Replace
relax\src\calc2\data\uibk.txt
file with the downloaded uibk.txt
file.
- Try to run this command
yarn --version
if yarn command not found, run npm install --global yarn
and try again.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- Change directory to the new inner relax folder (
cd relax
).
- Run this command
yarn install
.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- Run this command
yarn serve
.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- Now, go to your browser, paste this URL,
http://localhost:8088/
and Click Get Started
.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- To stop the site, press Ctrl + C in Git Bash.
- To run the site again open Git Bash in Relax folder and run this command
yarn serve
.
End Of Pre-Lab 2