Skip to content

dbpolito/shellmigration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stories in Ready

shellmigration

Manage environments are hard, every time you need to add a new dependency, install something here, change something there, right?

shellmigration is here you help you, this basically create versions of your environment.

Install

npm install -g shellmigration

How to use

shellmigration init

This will setup your folder, creating the files below:

- migrations/
--- .gitignore
--- .migrated
- shellmigrations.js

Create the files you want to run inside the folder migrations, for example:

File: migrations/20150602122250_echo_ok.sh

#!/bin/bash

echo 'OK'

Now, to run the migrations:

shellmigration migrate

You can also run:

shellmigration list --all
shellmigration list --done
shellmigration list --do

This is under development.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published