Skip to content

lashmanovSergey/assignment_2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 2 - Installation guide

git clone https://github.com/lashmanovSergey/assignment_2 && cd assignment_2

How to setup Docker Environment?

To start environment

make start

To stop environment

make stop

To restart environment (in some cases of error)

make restart

How to execute sql?

To execute sql

make sql filename="example_query.sql"

**All .sql files are stored in queries folder. So if you want to upload your custom .sql query, just add it there.

To execute sql with optimization (it automatically loads indexes and drops it after sql)

make sql-with-optimization filename="team_33_q1.sql"

**You can customize optimization via file team_33_indexes.sql ***Also you will see big message about create/drop indexes. Just ignore them. Main information between such messages.

Additional information

Do not forget to unline comments in team_33_script.sql. At the up??

About

docker-compose, docker, optimization, makefile... I mean, it is convenient way to work with it <3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors