yarn initialise uses new cli

This commit is contained in:
Michael Shanks 2020-04-27 08:56:51 +01:00
parent f61757698e
commit 44bba145c7
2 changed files with 14 additions and 1 deletions

View File

@ -1,7 +1,20 @@
# url of couch db, including username and password
# http://admin:password@localhost:5984
COUCH_DB_URL={{couchDbUrl}}
# local (PouchDB) - default for dev
# remote (CouchDB) - required couch db installation
DATABASE_TYPE={{database}}
# identifies a client database - i.e. group of apps
CLIENT_ID={{clientId}}
# Full access API key for server
ADMIN_SECRET={{adminSecret}}
# used to create cookie hashes
COOKIE_KEY_1={{cookieKey1}}
COOKIE_KEY_2={{cookieKey2}}
# port to run http server on
PORT=4001

View File

@ -8,7 +8,7 @@
"test:integration": "jest neo --runInBand",
"test:watch": "jest -w",
"build": "cd appPackages/_master && yarn && cd ../testApp && yarn && cd ../testApp2 && yarn",
"initialise": "node ./initialise/initialiseBudibase init -d ./myapps -c contributors -u admin -p admin",
"initialise": "node ../cli/bin/budi init ./myapps -b local -q",
"budi": "node ../cli/bin/budi",
"dev:builder": "node index --enable-source-maps"
},