This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ $# -eq 0 ] ; then | |
echo "No args given" | |
echo "Missing Heroku app name" | |
exit 1 | |
fi | |
APP_NAME="--app ${1}" | |
echo "heroku addons:add heroku-postgresql:dev ${APP_NAME}" | |
heroku addons:add heroku-postgresql:dev ${APP_NAME} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class Connect { | |
private _store; | |
public unsubscribe; | |
public state; | |
constructor(store) { | |
this._store = store; | |
this.state = store.getState(); | |
} |