Features:
- Multiple configurations support
- Multiple deployment environment support
- Additional useful actions that work at context of specific server
- Custom actions support
Super useful for lazy people: configured once - use any time.
Some commands should be executed from Meteor project's root directory (where .meteor
is located).
Looks for configurations at ../config/<configuration-name>
or where BOO_CONFIG_ROOT
from .boorc
points to.
npm install -g https://github.com/trsdln/boo.git
../config/production/settings.json
:
{
"comment": "your application settings here"
}
../config/production/boo.conf
:
# Deployment configuration example for Meteor Galaxy server
SERVER_DESCRIPTION="Production server"
SERVER_TYPE="galaxy"
VERIFY_TIMEOUT=20
MONGO_URL="mongodb://user:pass@localhost:27017/meteor"
DEPLOY_HOSTNAME="us-east-1.galaxy-deploy.meteor.com"
DOMAIN_NAME='app.company.com'
ROOT_URL="https://${DOMAIN_NAME}/"
# optially you can specify organization name at Galaxy
OWNER_ID="glaxy_organization_name"
boo <action> [configuration-name] [addtional_keys]
You can define your own actions as bash functions at ./conf/boo-actions.conf
.
- MacOS
- Arch Linux
git clone [email protected]:trsdln/boo.git
cd boo
npm install -g $(pwd)
- breaking change: replaced
mongo
withmongosh
to support MongoDB 6+ - breaking change: removed MongoDB dev server command
- removed
--verbose
flag support frommongo-copy
/mongo-restore
actions. Now those are verbose by default
- added PostgreSQL support:
sql
,sql-copy
,sql-restore
- breaking change: simplify
db-*
scripts to do single action at a time (gives more flexibility). Old vs. new:boo db-copy test
=>boo db-copy test && boo db-restore test local -Y
boo db-restore test
=>boo db-copy local && boo db-restore local test -Y
- add
--yes-im-sure
flag todb-restore
script