Giter Club home page Giter Club logo

sql-development's Introduction

SQL Development Environment

A keep it simple SQL development environment.

Table of Contents

General info

This project aims to provide a simple environment to learn and develop SQL without having to deal with installing and configuring any database engine on your system. The project is already preset to run both a MySQL and Postgres instances to encourage newcomers on either tech or database world, but you are encourage to add new engines, change its versions or its configuration if you want to.

Whole project is designed for and tested on a Linux system, although there are high chances that it works on any system with both docker and docker compose installed.

Requirements

How to use this project

If you want to use this project without having to install any extra software aside of the ones specified in the requirements section on your system you can use VS Code along with the Remote - Containers (ID ms-vscode-remote.remote-containers) extension. After cloning and opening the project in VS Code and having the extension installed you should see a notification from VS Code to reopen the project in a container, proceed with that to create a development container with all needed tools.

Once in the development container you will be able to create, stop and destroy different sql database engines and connect to them easily, it also comes with the SQLTools (ID mtxr.sqltools) extension to interact with these databases and a configuration to automatically access them. Whole project is also designed to interact with it through the Makefile. Type make or make help on the VS Code terminal to see all available options or start right directly typing make start to create a MySQL and Postgres instance.

If you prefer to use your own database client instead of the SQLTools extension you can still use this project to create the instances easily on your system and connect to them through your favorite client, but you will have to configure them.

Connection settings

Either if you use another database client or you are just curious about it, these are the connections settings for the databases you instantiate.

  • Host: Engine name (such as mysql or postgres) from inside the development container, localhost outside of it
  • Port: default of the engine (3306 for MySQL, 5432 for Postgres)
  • User: root
  • Password: secret
  • Database: test_db

These are not recommended credentials for any production setup they are just a basic configuration to keep things simple and start playing around quickly.

sql-development's People

Contributors

arnaullamas avatar

Watchers

Arnau Llamas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.