Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-HAP authored Jul 15, 2020
1 parent 6cb4676 commit 4291bc0
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,37 @@
# sql-learning-workshop
A workshop for learning SQL on PostgreSQL

A workshop that gives an overview of SQL on PostgreSQL 12 as well as an overview of some database features.

## Requires

* docker
* docker-compose

## Setup

1. Clone repository
2. Navigate to repo directory
3. Execute `./wsinit`
4. Execute `./ctbash`
5. Execute `pipenv install`
6. Execute `pipenv shell`
7. Open a new terminal and navigate to the repo dir.
8. Execute `./ctpsql`

Exercises are available in the workshop subdirectory

## Teardown

### ctpsql

1. Enter `\q` or press `Ctrl+D`

### ctbash

1. Enter `exit` or press `Ctrl+D` (do this twice, once to exit pipenv shell, the next to exit the container)

Finally execute `./wskill`

## Contents

This workshop will provide a PostgreSQL 12 database via docker. It will build a pgAdmin and a Grafana image with pre-set configrations and launch the containers.

0 comments on commit 4291bc0

Please sign in to comment.