Menu

Home

Ian Low

Project Overview:
MQL is a small Linux shell utility for creating and index a basic data table. The resultant table may be queried and integrated into a C/C++ project.

Pre-requisites:

  1. Ensure that g++ is installed in your Linux environment.

Installation Guide:

  1. Download the installation gzipped tarball file ending with the suffix '.tar.gz'.
  2. create the following folders within your Linux shell environment:
    $HOME/dev/src (i.e. ~/dev/src)
    $HOME/dev/bin (i.e. ~/dev/bin)
    $HOME/dev/common (i.e. ~/dev/common)
  3. Ensure that your $PATH environment variable points to $HOME/dev/bin. This normally involves editing your ~/.profile file to include the string ':~/dev/bin' in your export $PATH command, e.g. 'export PATH=./:$PATH:~/somedir:~/dev/bin:/usr/bin', where the semi-colon is the path separator.
  4. Create the following folder: $HOME/dev/src/cdoc.
  5. Copy the installation gzipped tarball file into the 'cdoc' folder.
  6. In a shell terminal, cd to the cdoc folder.
  7. Enter the command 'gzip -d <filename-of-gzipped-tarball>'.</filename-of-gzipped-tarball>
  8. Enter the command 'tar -xvf <filename-of-tarball>'.</filename-of-tarball>
  9. The previous 2 steps should have extracted the contents of the installation gzipped tarball into the cdoc folder.
  10. Move the contents of the common folder under cdoc to ~/dev/common.
  11. Enter the command 'make' in the 'cdoc' folder.

Usage Guide:

  1. Upon successful compilation enter the command 'mql'.
  2. To retrieve a list of options please enter 'h'.

The wiki uses Markdown syntax.

Project Members:


MongoDB Logo MongoDB