- Create Git repository https://github.com/jski7/ERGO_Interview.git
- Create folder for analytics and db
- Download template db
- Install Docker
- Create Dockerfile for jupyter-notebook
- Create docker-compose file with
- jupyter notebook,
- Postgres
- pgadmin4 - database visualisation and manual management
- Build containers
- Log in into pgadmin
- Connect to postgres server
- hostname: postgress
- login: postgres
- password: changeme
- Manually create movies database in pgadmin
- Manually create tables
- Manually insert data from csv
- Log into Jupyter via browser - token: hi
- Resolve tasks in Jupyter notebook (5 out of 6 resolved)
- Translate Database initiation manual actions to SQL queries
- Merge Database initialisation file and task solution file
- Clean up database and containers
- Test solution from scratch
- Remove pgadmin
- Test script without pgadmin
- Pull repo
- Change to repository directory
- Run command docker-compose up --build
- Log into Jupyter via browser - token: hi
- Run /analytics/Solution.ipynb
- DB with tables and links is initiated, data imported from csv
- Answers are printed as Solution.ipynb output