yarn initialise uses new cli

This commit is contained in:
Michael Shanks 2020-04-27 08:56:51 +01:00
parent 9799c3dad3
commit b514bfac1b
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}} COUCH_DB_URL={{couchDbUrl}}
# local (PouchDB) - default for dev
# remote (CouchDB) - required couch db installation
DATABASE_TYPE={{database}} DATABASE_TYPE={{database}}
# identifies a client database - i.e. group of apps
CLIENT_ID={{clientId}} CLIENT_ID={{clientId}}
# Full access API key for server
ADMIN_SECRET={{adminSecret}} ADMIN_SECRET={{adminSecret}}
# used to create cookie hashes
COOKIE_KEY_1={{cookieKey1}} COOKIE_KEY_1={{cookieKey1}}
COOKIE_KEY_2={{cookieKey2}} COOKIE_KEY_2={{cookieKey2}}
# port to run http server on
PORT=4001 PORT=4001

View File

@ -8,7 +8,7 @@
"test:integration": "jest neo --runInBand", "test:integration": "jest neo --runInBand",
"test:watch": "jest -w", "test:watch": "jest -w",
"build": "cd appPackages/_master && yarn && cd ../testApp && yarn && cd ../testApp2 && yarn", "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", "budi": "node ../cli/bin/budi",
"dev:builder": "node index --enable-source-maps" "dev:builder": "node index --enable-source-maps"
}, },