It's hard enough to setup proper learning environment for learning SQL basics, so i decide to make one not so complicated. Welcome to one of mine "1-3 hours project", and feel free to contribute or fork.
- Some kind of terminal with administrative permissions;
- git is installed;
- To check, run
git -v
- To install, please follow the instructions
- To check, run
- Docker is installed;
- To check, run
docker -v
in the terminal - To install, please follow the instructions
- To check, run
- Some browser is installed (optional);
- You can choose any, or if you prefer GUI software, you can go to 4.
- DBeaver or some other DB software, compatible with postgresql is installed (optional);
- If you don't want to install any DB software, you should at least have some browser installed.
- To install DBeaver, please follow the instructions
- ports 4444, 5555, 5432 is free.
Don't forget to always switch off your environment after working. At least, change all default passwords to your's. You can shutdown the environment by different ways. First off all, if you not familiar with Docker, just remember to always follow the instructions from running section
This isn't proper production environment! Don't use it on any kind of server, or cloud! You should use it only on your desktop or laptop, from you are learn SQL and only for learning purposes.
-
Windows:
- Press
win+r
. - Type
powershell
(orcmd
). - Clone this repository:
git clone https://github.com/FeorPrime/sql-learning-kit.git
.
- Press
-
Linux:
- Open your terminal (i hope, as a linux yser, you already know how to).
- Clone this repository:
git clone https://github.com/FeorPrime/sql-learning-kit.git
.
-
MacOs:
- press
command + space
. - type
terminal
(or whatever terminal you use). - Clone this repository:
git clone https://github.com/FeorPrime/sql-learning-kit.git
.
- press
Open