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
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=wpensar_sepam --database_target=wpensar_padrao
Execute a single SQL file:
$ dbtrolls -s wpensar_sepam.sql --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.1.tar.gz
(4.0 kB
view hashes)
Built Distribution
dbtrolls-1.1-py3-none-any.whl
(6.0 kB
view hashes)