helionogueir / hrdq

Running Database Queries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running Database Queries (hrdq)

Running database queries


Summary

  1. Create Application Container (Docker)

1. Create Application Container (Docker)

1.1. Container for Application

Before execute check if container or IP exists!

$ sudo docker run \
    --memory "128M" \
    --name "hrdq" \
    --volume "${HOME}/workspace/hrdq":"/var/local/application" \
    --tty --interactive node:8.10 /bin/bash

1.2. Prepare Linux Container

$ echo "alias ll='ls -alh --color'"
$ echo "alias ll='ls -alh --color'" | tee --append "/root/.bashrc" && alias ll='ls -alh --color'

1.3. Prepare Application

$ cd "/var/local/application"
$ npm install
$ npm start

About

Running Database Queries

License:MIT License


Languages

Language:JavaScript 100.0%