Skip to main content

dbtrolls - A simple tool to make Dev's life happy.

Project description

https://raw.githubusercontent.com/caputomarcos/dbtrolls/master/dbtrolls.png

dbtrolls

A simple tool to make Dev’s life happy.

License

Licensed under the GNU General Public License (GPL).

Install

Follow the steps below to get everything up and running.

pip

Package Index > dbtrolls > 1.1 pip.

  1. Create project folder:

    $ mkdir dbtrolls && cd dbtrolls
    
  2. Create virtualenv in the normal way:

    $ virtualenv env --python=python
    
  3. Active your new virtualenv:

    $ source env/bin/activate
    
  4. Install dbtrolls:

    $ pip install dbtrolls
    

Git

  1. Clone repository:

    $ git clone git@github.com:caputomarcos/dbtrolls.git
    
  2. Go to dbtrolls source folder:

    $ cd dbtrolls/
    
  3. Create virtualenv in the normal way:

    $ virtualenv env --python=python
    
  4. Active your new virtualenv:

    $ source env/bin/activate
    
  5. Create dev environment:

    $ make develop
    

Usage

  1. Create config file:

    $ dbtrolls -c --database_source=<DATABASE_SOURCE> --database_target=<DATABASE_TARGET>
    
  2. Execute a single SQL file:

    $ dbtrolls -s <SQL_FILE> --fix --preload
    
  3. Execute a collection of SQL files:

    $ dbtrolls -m
    

Project details


Release history Release notifications

This version
History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dbtrolls-1.3-py3.4.egg (7.7 kB) Copy SHA256 hash SHA256 Egg 3.4 Nov 1, 2017
dbtrolls-1.3-py3-none-any.whl (6.1 kB) Copy SHA256 hash SHA256 Wheel py3 Nov 1, 2017
dbtrolls-1.3.tar.gz (4.0 kB) Copy SHA256 hash SHA256 Source None Nov 1, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page