dbtrolls - A simple tool to make Dev's life happy.
Project description
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.
Create project folder:
$ mkdir dbtrolls && cd dbtrolls
Create virtualenv in the normal way:
$ virtualenv env --python=python
Active your new virtualenv:
$ source env/bin/activate
Install dbtrolls:
$ pip install dbtrolls
Git
Clone repository:
$ git clone git@github.com:caputomarcos/dbtrolls.git
Go to dbtrolls source folder:
$ cd dbtrolls/
Create virtualenv in the normal way:
$ virtualenv env --python=python
Active your new virtualenv:
$ source env/bin/activate
Create dev environment:
$ make develop
Usage
Create config file:
$ dbtrolls -c --database_source=<DATABASE_SOURCE> --database_target=<DATABASE_TARGET>
Execute a single SQL file:
$ dbtrolls -s <SQL_FILE> --fix --preload
Execute a collection of SQL files:
$ dbtrolls -m
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dbtrolls-1.2.tar.gz
(4.0 kB
view hashes)
Built Distribution
dbtrolls-1.2-py3-none-any.whl
(6.1 kB
view hashes)