Environment
Initial Setup
We have a makefile that will help you setup the database and run the queries. We use Docker to run the database.
Create Database with Docker
$ make run Login to container with Docker
$ make bashLogin to Database with Docker
$ make execStart container
$ make startStop container
$ make stopDelete container
$ make deleteSample Database for use with PostgreSQL
Please, download this db: Download Link
First, extract the file. Second, you need to login to docker container:
Copy file to docker container
Example:
After login to docker container, you need to restore the database:
Restore database
Exapmle:
Keep learning . . . 👨💻
Last updated
Was this helpful?